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 20:13:43 PST Message-ID: <3FAB1B17.8000307@nowhere.com> Date: Fri, 07 Nov 2003 12:09:59 +0800 From: Adrian Hoe User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4.1) Gecko/20020518 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: gcc/gnat 3.3 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 219.95.190.26 X-Original-NNTP-Posting-Host: 219.95.190.26 X-Trace: news.tm.net.my 1068178379 219.95.190.26 (7 Nov 2003 12:12:59 +0800) Organization: TMnet Malaysia Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp.abs.net!ash.uu.net!news1.tm.net.my Xref: archiver1.google.com comp.lang.ada:2182 Date: 2003-11-07T12:09:59+08:00 List-Id: Andreas Almroth wrote: > Adrian Hoe wrote: > >> >> Yes! I have successfully built gcc-3.3.2. I tried to compile one of my >> Ada program and it works. Now, my Ada program is statically linked and >> the binary file is large. How do I make a dynamic link? >> > > in the objdir/gcc directory; > gmake gnatlib-shared > > Have a look in the Makefile and you will see lots of gnat related stuff... > > /Andreas > Thanks again and it built. 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? I'm still not able to dynamic link. What is still missing? -- Adrian Hoe m a i l b o x AT a d r i a n h o e . c o m