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-05 22:55:46 PST Message-ID: <3FA9EF9E.7040301@nowhere.com> Date: Thu, 06 Nov 2003 14:52:14 +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> 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 1068101713 219.95.190.26 (6 Nov 2003 14:55:13 +0800) Organization: TMnet Malaysia Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!news-out.cwix.com!newsfeed.cwix.com!news1.tm.net.my Xref: archiver1.google.com comp.lang.ada:2121 Date: 2003-11-06T14:52:14+08:00 List-Id: Andreas Almroth wrote: > Adrian Hoe wrote: > [snip] > >>> Do you have any idea how to solve this? I see that I am close but not >>> so close yet. :( >> > > [snip] > >> These undefined symbols can be found in the C source files under the >> directory gcc-3.3.2/libiberty >> >> When I did gmake bootstrap, it gave me an error for missing >> libiberty.a. So I copied the file from one of the system lib >> directory. It seems like gcc bootstrap needs to compile those files in >> gcc-3.3.2/libiberty to produce libiberty.a. Is my assumption correct? >> If yes, how do I make libiberty? The Makefile does not have the lines >> to make libiberty.a > > > That is very odd, as libiberty is about the first part that is being > built when bootstrapping, and possibly when doing the other builds as well. > > I'm using the following configure; > cd objdir > ../gcc-3.3.2/configure --enable-languages=c,ada enable-threads > --enable-multilib --disable-nls > cd ../gcc-3.3.2/gcc/ada > touch treeprs.ads [es]info.h nmake.ad[bs] > cd ~ > cd objdir > gmake bootstrap > > > This will build a 32/64 bit (SPARC) capable compiler, with shared and > static libraries, with thread support (default native), and no > internationalisation. > > As I write this, the compile is well into building stage2. > > Try the above configure (if not already using it), and see what happens. > Perhaps it is something wrong with your development environment/paths. > I'm using CSW build for all dev tools, you are using SFW, but that > should theoretically not make a difference, but who knows. > What about your environment variables? > PATH=/usr/bin:/usr/ccs/bin:/opt/csw/bin > Well, in your case /usr/sfw/bin -^ > LD_OPTIONS='-R/opt/csw/gcc3/lib -R/opt/csw/lib -L/opt/csw/gcc3/lib > -L/opt/csw/lib' > Change according to SFW places for libraries. > CC=gcc > CFLAGS='-O2' > LIBCFLAGS='-g -O2' > CXXFLAGS='-I/opt/csw/include' > > > /Andreas > > 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.) -- Adrian Hoe m a i l b o x AT a d r i a n h o e . c o m