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:19:12 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: Thu, 06 Nov 2003 07:19:19 +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> 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 1068099550 47502049 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: <3FA9DA39.3090607@nowhere.com> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Xref: archiver1.google.com comp.lang.ada:2119 Date: 2003-11-06T07:19:19+01:00 List-Id: 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