comp.lang.ada
 help / color / mirror / Atom feed
* Setting up a bare metal x86 toolchain
@ 2019-06-23  1:25 ajxscc
  2019-06-23  9:08 ` Simon Wright
  2019-06-25 16:56 ` Shark8
  0 siblings, 2 replies; 6+ messages in thread
From: ajxscc @ 2019-06-23  1:25 UTC (permalink / 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-25 22:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-23  1:25 Setting up a bare metal x86 toolchain ajxscc
2019-06-23  9:08 ` 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

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