comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT and no runtime
Date: 10 Jun 2004 06:15:46 +0100
Date: 2004-06-10T06:15:46+01:00	[thread overview]
Message-ID: <x7v4qpkq9h9.fsf@smaug.pushface.org> (raw)
In-Reply-To: 1097959.zrTv3dtysH@linux1.krischik.com

Martin Krischik <krischik@users.sourceforge.net> writes:

> This might actually help with the problems I have with the x86_64
> version.  The linker is upset that the -fPIC option was not used
> when libgnat.a was created.

The problem we had with -a was that the compiler options that gnatmake
uses to build your code aren't necessarily the same as those used for
the rebuilt library. We saw this with GNAT Project; IIRC the compiler
options for your code come from package Compiler, those for library
code from package Builder. We saw this because of -mlongcall (PPC
option needed for large programs, not so large under VxWorks whith
lots of memory on the SBC!).

We now rebuild the library with the options we need; see
Makefile.adalib in the adalib/ directory. Note that some GNAT releases
(I don't know about the public GCC) don't include everything you need
for Makefile.adalib to work, I can help a bit if you do go this route.

-- 
Simon Wright                               100% Ada, no bugs.



  reply	other threads:[~2004-06-10  5:15 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 20:57 GNAT and no runtime JCS
2004-05-26  7:46 ` Rolf Ebert
2004-05-26 12:17   ` JCS
2004-05-28 15:13   ` JCS
2004-05-26 10:52 ` Wojtek Narczynski
2004-05-26 12:33   ` JCS
2004-05-26 16:05     ` Martin Krischik
2004-05-27  9:40       ` Wojtek Narczynski
2004-05-28 20:42       ` Wojtek Narczynski
2004-06-08  5:43         ` Martin Krischik
2004-06-09  5:07           ` Simon Wright
2004-06-09  6:22             ` Martin Krischik
2004-06-09  7:20               ` Martin Dowie
2004-06-09  7:52                 ` Martin Krischik
2004-06-09  9:26                   ` Martin Dowie
2004-06-09 11:50                     ` Martin Krischik
2004-06-10  5:15                       ` Simon Wright [this message]
2004-06-09 16:33             ` Robert I. Eachus
2004-05-27 10:23     ` Wojtek Narczynski
2004-05-27 12:45       ` JCS
2004-05-26 19:51   ` Georg Bauhaus
2004-05-27  9:43     ` Wojtek Narczynski
2004-05-26 16:44 ` sk
2004-05-26 17:42   ` JCS
2004-05-26 21:33     ` sk
2004-05-26 23:12       ` JCS
2004-05-27 13:58         ` sk
2004-05-27 21:30           ` JCS
2004-05-27 22:42             ` sk
replies disabled

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