comp.lang.ada
 help / color / mirror / Atom feed
From: ajxscc@gmail.com
Subject: Setting up a bare metal x86 toolchain
Date: Sat, 22 Jun 2019 18:25:50 -0700 (PDT)
Date: 2019-06-22T18:25:50-07:00	[thread overview]
Message-ID: <c21e34d6-19d6-4876-ad61-f0e20f504ded@googlegroups.com> (raw)

I've recently begun exploring bare-metal development in Ada, with some great successes targeting bare-metal ARM using AdaCore's GPL compiler. I have some minimal experience with bare-metal x86 development, and would like to use Ada for this purpose. I was wondering what the best way to create an x86 bare-metal toolchain is.
I've seen Lucretia's 'Ada Bare Bones' tutorial on osdev.org, which provides some useful information about building the runtime. This is quite straightforward, but I'm a little unsure about how to build the cross compiler for the task.
Am I correct in my assumption that creating a 'freestanding' binary is done by compiling with the right kind of RTS? If I were to create/utilise a proper freestanding RTS, would it be suitable to use either the AdaCore or FSF GNAT targeting x86?
Any help understanding this would be greatly appreciated.

             reply	other threads:[~2019-06-23  1:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-23  1:25 ajxscc [this message]
2019-06-23  9:08 ` Setting up a bare metal x86 toolchain Simon Wright
2019-06-25  9:43   ` ff45t1z
2019-06-25  9:44   ` ajxscc
2019-06-25 16:56 ` Shark8
2019-06-25 22:59   ` Lucretia
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox