comp.lang.ada
 help / color / mirror / Atom feed
* GNAT output file format
@ 2001-04-10 20:25 chris.danx
  2001-04-10 21:03 ` Gerhard Häring
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: chris.danx @ 2001-04-10 20:25 UTC (permalink / raw)


What is the GNAT binary output format?

I looked in the manuals but there's not much info.  I'm trying to get a
program to load it up and execute it on bare hardware (or rather i will) for
OS development.  Does GNAT use GCC output formats?

Are there any docs on this?

Regards,
Chris





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

* Re: GNAT output file format
  2001-04-10 20:25 GNAT output file format chris.danx
@ 2001-04-10 21:03 ` Gerhard Häring
  2001-04-10 23:59 ` David Starner
       [not found] ` <SHKA6.2497$FY5.175176@www.newsranger.com>
  2 siblings, 0 replies; 6+ messages in thread
From: Gerhard Häring @ 2001-04-10 21:03 UTC (permalink / raw)


On Tue, 10 Apr 2001 21:25:44 +0100, chris.danx <chris.danx@ntlworld.com> wrote:
>What is the GNAT binary output format?
>
>I looked in the manuals but there's not much info.  I'm trying to get a
>program to load it up and execute it on bare hardware (or rather i will) for
>OS development.  Does GNAT use GCC output formats?
>
>Are there any docs on this?

I don't know about the output format or about docs, but Serge Robyns built a
proof-of-concept of GNAT creating a bootable executable for the AdaOS project.
You might get the link from the mailing list archive (if there is any, I don't
recall at the moment) on www.adaos.org. If you don't find this, mail me
directly and I will try to dig it up. Be sure the remove the nospam :-)

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de
web:    http://highqualdev.com



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

* Re: GNAT output file format
  2001-04-10 20:25 GNAT output file format chris.danx
  2001-04-10 21:03 ` Gerhard Häring
@ 2001-04-10 23:59 ` David Starner
  2001-04-11 21:52   ` chris.danx
       [not found] ` <SHKA6.2497$FY5.175176@www.newsranger.com>
  2 siblings, 1 reply; 6+ messages in thread
From: David Starner @ 2001-04-10 23:59 UTC (permalink / raw)


On Tue, 10 Apr 2001 21:25:44 +0100, chris.danx <chris.danx@ntlworld.com> wrote:
> What is the GNAT binary output format?
> 
> I looked in the manuals but there's not much info.  I'm trying to get a
> program to load it up and execute it on bare hardware (or rather i will) for
> OS development.  Does GNAT use GCC output formats?

Yes, GNAT uses GCC output formats - i.e. ELF, a.out, etc. 

-- 
David Starner - dstarner98@aasaa.ofe.org
Pointless website: http://dvdeug.dhis.org
"I don't care if Bill personally has my name and reads my email and 
laughs at me. In fact, I'd be rather honored." - Joseph_Greg



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

* Re: GNAT output file format
       [not found] ` <SHKA6.2497$FY5.175176@www.newsranger.com>
@ 2001-04-11 13:09   ` Mats Karlssohn
  0 siblings, 0 replies; 6+ messages in thread
From: Mats Karlssohn @ 2001-04-11 13:09 UTC (permalink / raw)


Ted Dennison wrote:
> 
> In article <T_JA6.1833$FD1.234680@news6-win.server.ntlworld.com>, chris.danx
> says...
> >
> >What is the GNAT binary output format?
> >
> >I looked in the manuals but there's not much info.  I'm trying to get a
> >program to load it up and execute it on bare hardware (or rather i will) for
> >OS development.  Does GNAT use GCC output formats?
> 
> Yes, it does. You'd probably need to look at GCC docs for more information about
> it. Of course, that means the exact format will depend on the platform as well.

On more hint: after a STATIC link you can use objcopy to create your
ROM images. Sometimes (at least) you can avoid tinkering with the
linker-
scripts this way.

-- 
Mats Karlssohn, developer                         mailto:mats@mida.se  
Mida Systemutveckling AB                          http://www.mida.se
Box 64, S-732 22 ARBOGA, SWEDEN
Phone: +46-(0)589-89808   Fax: +46-(0)589-89809



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

* Re: GNAT output file format
  2001-04-10 23:59 ` David Starner
@ 2001-04-11 21:52   ` chris.danx
  2001-04-12  6:54     ` Mats Karlssohn
  0 siblings, 1 reply; 6+ messages in thread
From: chris.danx @ 2001-04-11 21:52 UTC (permalink / raw)


> > What is the GNAT binary output format?
> >
> > I looked in the manuals but there's not much info.  I'm trying to get a
> > program to load it up and execute it on bare hardware (or rather i will)
for
> > OS development.  Does GNAT use GCC output formats?
>
> Yes, GNAT uses GCC output formats - i.e. ELF, a.out, etc.

That mean i can change the output format via switches?  I'm using GNAT on
Windows 9X.


Chris





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

* Re: GNAT output file format
  2001-04-11 21:52   ` chris.danx
@ 2001-04-12  6:54     ` Mats Karlssohn
  0 siblings, 0 replies; 6+ messages in thread
From: Mats Karlssohn @ 2001-04-12  6:54 UTC (permalink / raw)


"chris.danx" wrote:
> 
> > > What is the GNAT binary output format?
> > >
> > > I looked in the manuals but there's not much info.  I'm trying to get a
> > > program to load it up and execute it on bare hardware (or rather i will)
> for
> > > OS development.  Does GNAT use GCC output formats?
> >
> > Yes, GNAT uses GCC output formats - i.e. ELF, a.out, etc.
> 
> That mean i can change the output format via switches?  I'm using GNAT on
> Windows 9X.

Well, sort of... It really depends on wich options were used to
configure the libbfd that is used by your GNAT/GCC. I seem to recall
that the public versions of GNAT from ACT has a rather 'slimlined'
libbfd that can only handle ett Windows .OBJ and .EXE formats.
Please correct me if I'm wrong!

-- 
Mats Karlssohn, developer                         mailto:mats@mida.se  
Mida Systemutveckling AB                          http://www.mida.se
Box 64, S-732 22 ARBOGA, SWEDEN
Phone: +46-(0)589-89808   Fax: +46-(0)589-89809



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

end of thread, other threads:[~2001-04-12  6:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-10 20:25 GNAT output file format chris.danx
2001-04-10 21:03 ` Gerhard Häring
2001-04-10 23:59 ` David Starner
2001-04-11 21:52   ` chris.danx
2001-04-12  6:54     ` Mats Karlssohn
     [not found] ` <SHKA6.2497$FY5.175176@www.newsranger.com>
2001-04-11 13:09   ` Mats Karlssohn

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