comp.lang.ada
 help / color / mirror / Atom feed
From: Adrian Hoe <adrianhoe@nowhere.com>
Subject: Re: gcc/gnat 3.3
Date: Wed, 19 Nov 2003 16:10:45 +0800
Date: 2003-11-19T16:10:45+08:00	[thread overview]
Message-ID: <3FBB2585.2010104@nowhere.com> (raw)
In-Reply-To: boffb0$1dpi7e$1@ID-198985.news.uni-berlin.de

Andreas Almroth wrote:

> Adrian Hoe wrote:
> 
>>
>> After gmake gnatlib-shared, I got these in ada/rts:
>>
>>   22 -rw-r--r--   1 byhoe    staff      10436 Nov  7 10:56 libgmem.a
>> 2112 -rwxr-xr-x   1 byhoe    staff    1066876 Nov  7 10:56 
>> libgnarl-3.15.so
>> 2224 -rw-r--r--   1 byhoe    staff    1123904 Nov  7 10:44 libgnarl.a
>>    2 lrwxrwxrwx   1 byhoe    staff         16 Nov  7 10:56 libgnarl.so 
>> -> libgnarl-3.15.so*
>> 10992 -rwxr-xr-x   1 byhoe    staff    5613388 Nov  7 10:56 
>> libgnat-3.15.so
>> 12240 -rw-r--r--   1 byhoe    staff    6250572 Nov  7 10:44 libgnat.a
>>    2 lrwxrwxrwx   1 byhoe    staff         15 Nov  7 10:56 libgnat.so 
>> -> libgnat-3.15.so*
>>
>>
>> Notice the 3.15 in libgnat and libgnarl. Is this normal? Should I 
>> rename to 3.3.2?
>>
> 
> Normal I guess, probably the stuff from gnat 3.15, but who knows...
> 
>> I'm still not able to dynamic link. What is still missing?
> 
> 
> Have you tried
> export LD_OPTIONS='-R... -L...'
> Replace ... with the path to the dynamic libraries
> Try compile your app, and check with ldd command if it references the *.so.
> Also check the gnat manual for command line options run-time options.




Nope! LD_OPTIONS alone does not work. I need -lgnat -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/adalib --RTS=/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ for gnatmake.


Just checking of I have LD_OPTIONS correct:


$ env

LD_OPTIONS=-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/adalib

Is there a way to save -largs and -L<libpath> each time I use gnatmake. 
I just want to use gnatmake without the hassle to type -l and -L 
everytime so let's forget about Makefile.
-- 
Adrian Hoe
m a i l b o x AT a d r i a n h o e . c o m




  reply	other threads:[~2003-11-19  8:10 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-17 14:45 gcc/gnat 3.3 Adrian Hoe
2003-10-17 21:12 ` Jeff C,
2003-10-17 21:48   ` GCC 5.01p (was: Re: gcc/gnat 3.3) Ludovic Brenta
2003-10-17 22:01     ` Jeff C,
2003-10-20 19:04 ` gcc/gnat 3.3 Andreas Almroth
2003-10-24  9:13   ` Adrian Hoe
2003-10-28  4:19     ` Adrian Hoe
2003-10-28  4:26       ` Jeff C,
2003-10-28 15:36         ` Adrian Hoe
2003-10-29  0:24           ` Jeff C,
2003-11-01  5:51             ` Adrian Hoe
2003-11-01 14:22               ` Jeff C,
2003-11-01 14:28                 ` Jeff C,
2003-11-01 14:52                 ` Ludovic Brenta
2003-11-03  9:36                   ` Adrian Hoe
2003-11-05 18:35                     ` Andreas Almroth
2003-11-06  5:06                       ` Adrian Hoe
2003-11-06  5:20                         ` Adrian Hoe
2003-11-06  6:19                           ` Andreas Almroth
2003-11-06  6:52                             ` Adrian Hoe
2003-11-06  8:54                               ` Andreas Almroth
2003-11-06 11:17                                 ` Adrian Hoe
2003-11-06 13:55                                   ` Andreas Almroth
2003-11-07  4:09                                     ` Adrian Hoe
2003-11-07  6:50                                       ` Andreas Almroth
2003-11-19  8:10                                         ` Adrian Hoe [this message]
2003-11-07  4:15                                     ` Adrian Hoe
2003-11-07  7:00                                       ` Andreas Almroth
2003-11-07  7:15                                         ` Adrian Hoe
2003-11-07 17:05                                           ` Andreas Almroth
2003-11-06  6:33                           ` Adrian Hoe
2003-10-28 14:48       ` Steve
2003-11-01 16:29         ` Andreas Almroth
2003-11-03  3:49           ` Adrian Hoe
replies disabled

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