* porting/recompiling GNAT run time library
@ 2003-08-28 17:32 Francisco Javier Loma Daza
2003-08-29 5:21 ` sk
0 siblings, 1 reply; 5+ messages in thread
From: Francisco Javier Loma Daza @ 2003-08-28 17:32 UTC (permalink / raw)
I plan to make a gnat cross compiler to amateur os. I am using
gnat3.14p, and I have tried to use the No_Run_Time pragma, -nostdinc
and -nostdlib, but my simple program (null body) seems to need some
gnat files, as ada.ads and gnat.ads system.ads, and so on .... one
file that hurts is system.stack_checking because it needs to do a
getenv ....
Have someone make a minimal custom run time library for use with
gnat No_Run_Time pragma?
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: porting/recompiling GNAT run time library
2003-08-28 17:32 porting/recompiling GNAT run time library Francisco Javier Loma Daza
@ 2003-08-29 5:21 ` sk
2003-08-29 13:14 ` Jeff
2003-08-29 16:04 ` Francisco Javier Loma Daza
0 siblings, 2 replies; 5+ messages in thread
From: sk @ 2003-08-29 5:21 UTC (permalink / raw)
To: comp.lang.ada
fjloma@andaluciajunta.es:
> Have someone make a minimal custom run time library for use with
> gnat No_Run_Time pragma?
No runtime, but a standalone "pragma No_Run_Time" ELF booting from
GRUB with no GNAT dependencies.
www.ktc.com/~sknipe/EOSA-BOOT-0.0.11-beta.2.tar.bz2
www.ktc.com/~sknipe/EOSA-BOOT-0.0.11-beta.2.tar.gz
Directly download one of the above and ignore the web
page, it is not current.
--
-------------------------------------------------
-- Merge vertically for real address
--
-- s n p @ t . o
-- k i e k c c m
-------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: porting/recompiling GNAT run time library
2003-08-29 5:21 ` sk
@ 2003-08-29 13:14 ` Jeff
2003-08-31 15:54 ` Francisco Javier Loma Daza
2003-08-29 16:04 ` Francisco Javier Loma Daza
1 sibling, 1 reply; 5+ messages in thread
From: Jeff @ 2003-08-29 13:14 UTC (permalink / raw)
Create a "gnat.adc" that contains:
pragma No_Run_Time;
pragma Restrictions(No_Exceptions);
This has worked for me in the past.
-- Jeff
sk <noname@myob.com> wrote in message news:<mailman.17.1062134393.318.comp.lang.ada@ada.eu.org>...
> fjloma@andaluciajunta.es:
> > Have someone make a minimal custom run time library for use with
> > gnat No_Run_Time pragma?
>
> No runtime, but a standalone "pragma No_Run_Time" ELF booting from
> GRUB with no GNAT dependencies.
>
> www.ktc.com/~sknipe/EOSA-BOOT-0.0.11-beta.2.tar.bz2
> www.ktc.com/~sknipe/EOSA-BOOT-0.0.11-beta.2.tar.gz
>
> Directly download one of the above and ignore the web
> page, it is not current.
>
> --
> -------------------------------------------------
> -- Merge vertically for real address
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: porting/recompiling GNAT run time library
2003-08-29 13:14 ` Jeff
@ 2003-08-31 15:54 ` Francisco Javier Loma Daza
0 siblings, 0 replies; 5+ messages in thread
From: Francisco Javier Loma Daza @ 2003-08-31 15:54 UTC (permalink / raw)
jeff.huter@bigfoot.com (Jeff) wrote in message news:<fe4bb2c2.0308290514.390b06ee@posting.google.com>...
> Create a "gnat.adc" that contains:
>
> pragma No_Run_Time;
> pragma Restrictions(No_Exceptions);
>
> This has worked for me in the past.
>
> -- Jeff
>
And it works indeed ... but with that restrictions. I admit to have no
tasking, but I would like to have exceptions, string concatenations
... what gnat files are needed to tweak for doing that? ( I assume
that first I must provide some sort of dynamic memory
allocation/dealocation )
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: porting/recompiling GNAT run time library
2003-08-29 5:21 ` sk
2003-08-29 13:14 ` Jeff
@ 2003-08-29 16:04 ` Francisco Javier Loma Daza
1 sibling, 0 replies; 5+ messages in thread
From: Francisco Javier Loma Daza @ 2003-08-29 16:04 UTC (permalink / raw)
sk <noname@myob.com> wrote in message news:<mailman.17.1062134393.318.comp.lang.ada@ada.eu.org>...
> fjloma@andaluciajunta.es:
> > Have someone make a minimal custom run time library for use with
> > gnat No_Run_Time pragma?
>
> No runtime, but a standalone "pragma No_Run_Time" ELF booting from
> GRUB with no GNAT dependencies.
>
> www.ktc.com/~sknipe/EOSA-BOOT-0.0.11-beta.2.tar.bz2
> www.ktc.com/~sknipe/EOSA-BOOT-0.0.11-beta.2.tar.gz
>
> Directly download one of the above and ignore the web
> page, it is not current.
>
> --
> -------------------------------------------------
> -- Merge vertically for real address
Thanks, great job!!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-08-31 15:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-28 17:32 porting/recompiling GNAT run time library Francisco Javier Loma Daza
2003-08-29 5:21 ` sk
2003-08-29 13:14 ` Jeff
2003-08-31 15:54 ` Francisco Javier Loma Daza
2003-08-29 16:04 ` Francisco Javier Loma Daza
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox