From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b70281e9df653875 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-06 22:50:11 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!61.11.230.176!not-for-mail From: Andreas Almroth Newsgroups: comp.lang.ada Subject: Re: gcc/gnat 3.3 Date: Fri, 07 Nov 2003 07:50:01 +0100 Message-ID: References: <3f8fff8b$1_1@news.tm.net.my> <3f98ec41_1@news.tm.net.my> <3f9ded55$1_2@news.tm.net.my> <3f9e8c01$1_2@news.tm.net.my> <_MDnb.37361$mZ5.190069@attbi_s54> <3fa348e4$1_1@news.tm.net.my> <3FA621A2.8020205@nowhere.com> <3FA9D6D1.9050803@nowhere.com> <3FA9DA39.3090607@nowhere.com> <3FA9EF9E.7040301@nowhere.com> <3FAA2DD5.5040503@nowhere.com> <3FAB1B17.8000307@nowhere.com> NNTP-Posting-Host: 61.11.230.176 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1068187809 48023790 61.11.230.176 (16 [198985]) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en In-Reply-To: <3FAB1B17.8000307@nowhere.com> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Xref: archiver1.google.com comp.lang.ada:2185 Date: 2003-11-07T07:50:01+01:00 List-Id: 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. /Andreas