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 03:55:57 PST Message-ID: <3FAA2DD5.5040503@nowhere.com> Date: Thu, 06 Nov 2003 19:17:41 +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> 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 1068117640 219.95.190.26 (6 Nov 2003 19:20:40 +0800) Organization: TMnet Malaysia Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!hermes.visi.com!zeus.visi.com!green.readfreenews.net!news.readfreenews.net!news-out.visi.com!petbe.visi.com!ash.uu.net!news1.tm.net.my Xref: archiver1.google.com comp.lang.ada:2137 Date: 2003-11-06T19:17:41+08:00 List-Id: Andreas Almroth wrote: > Adrian Hoe wrote: > >> > [snip] > >> >> Did you get the following message? >> >> *** This configuration is not supported in the following subdirectories: >> target-libffi target-boehm-gc target-zlib target-libjava zlib >> fastjar target-libobjc >> (Any other directories should still work fine.) >> > > yup, as we are not building support for C++, Java, Fortran or Objective-C. > > /Andreas > > 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? Here's the contents of /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/adalib pyxis2% dir lib* 20 -rw-r--r-- 1 root other 9804 Nov 6 19:01 libgmem.a 2224 -rw-r--r-- 1 root other 1123904 Nov 6 19:01 libgnarl.a 2 lrwxrwxrwx 1 root other 13 Nov 6 19:01 libgnarl.so -> libgnarl-*.so 12240 -rw-r--r-- 1 root other 6250572 Nov 6 19:01 libgnat.a 2 lrwxrwxrwx 1 root other 12 Nov 6 19:01 libgnat.so -> libgnat-*.so I see a file, Makefile.adalib in the same directory. Is this for building the necessary lib files? How do I do it? After bootstrapping, I tried "make gnatlib_and_tools" and succeeded without errors. But I don't get the dynamic library files. Have I missed something? -- Adrian Hoe m a i l b o x AT a d r i a n h o e . c o m