comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Build raw binary on Windows
Date: Sun, 04 Apr 2010 21:39:38 -0400
Date: 2010-04-04T21:39:38-04:00	[thread overview]
Message-ID: <82aatiu17p.fsf@stephe-leake.org> (raw)
In-Reply-To: a55ca3ff-1b7c-4a5d-a939-973f101ab3da@y17g2000yqd.googlegroups.com

brian <brian.catlin@gmail.com> writes:

> I've been poring over megabytes of documentation until my eyes started
> bleeding, but I just cannot figure out how to tell GNAT to create a
> raw binary  (no header) executable using GNAT hosted on Windows.  I
> need to write code that runs on x86/x64 bare metal (no operating
> system).
>
> Any pointers would be greatly appreciated!

Read up on 'pragma No_Run_Time'. It's labeled obsolescent, so apparently
there's a better way to do the same thing.

I'm not clear what you mean by "no header". 

You need some way to load the code into the processor. I assume you are
first writing a boot prom, which will then load the rest of the code. So
you need a tool that will translate the object file into hex for a prom
burner. Gnu binutils must have that somewhere.

-- 
-- Stephe



  reply	other threads:[~2010-04-05  1:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-04 12:44 Build raw binary on Windows brian
2010-04-05  1:39 ` Stephen Leake [this message]
2010-04-05 12:01   ` brian
2010-04-05 12:27 ` Tero Koskinen
2010-04-05 14:06   ` brian
2010-04-05 14:30     ` Tero Koskinen
replies disabled

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