From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Trig Function Linking Problems
Date: Tue, 17 Apr 2007 22:50:09 +0200
Date: 2007-04-17T22:50:09+02:00 [thread overview]
Message-ID: <87abx667zy.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 1176836058.776900.16840@b58g2000hsg.googlegroups.com
AJAskey <AskeyAJ@gmail.com> writes:
> Thanks again for the responses. I will give the suggestions a try.
>
> I did get the trig functions to work on one newer system. The ldd -v
> trig command showed that libgnat was not being linked - for some
> reason. I changed my build command to:
>
> gnatmake -v trig.adb -largs -lm -lc /usr/lib/libgnat-3.4.so.1
>
> and it worked. I'm not sure why a simple gnatmake didn't link in the
> libgnat library. It did on the older system and this led me to try to
> explicitly link it.
>
> On the other system (the one I really need it to work on) it didn't
> work. One reason may be that the libgnat-3.4.so.1 was not there - but
> the libgnat-3.15a.so.1 file was. This is interesting as they appear
> to be built from the same CD. I will try to get the newer libgnat
> file onto that system. Currently, they are not on the same network.
Ah yes - this is consistent with [1] and confirms that the Ada in GCC
3.2 is more or less broken. What version of GNAT does the newer
system have?
[1] http://www.ada-france.org/debian/debian-ada-policy.html#A-note-about-GNAT_0027s-shared-libraries
--
Ludovic Brenta.
prev parent reply other threads:[~2007-04-17 20:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 20:32 Trig Function Linking Problems AJAskey
2007-04-16 22:46 ` Jeffrey Creem
2007-04-16 23:39 ` Markus E Leypold
2007-04-17 9:59 ` AJAskey
2007-04-17 10:55 ` Markus E Leypold
2007-04-17 11:48 ` AJAskey
2007-04-17 12:05 ` Markus E Leypold
2007-04-17 12:32 ` Ludovic Brenta
2007-04-17 0:22 ` Jeffrey R. Carter
2007-04-17 16:58 ` Dirk Heinrichs
2007-04-17 18:54 ` AJAskey
2007-04-17 20:50 ` Ludovic Brenta [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox