comp.lang.ada
 help / color / mirror / Atom feed
From: Adrian Hoe <adrianhoe@nowhere.com>
Subject: Re: gcc/gnat 3.3
Date: Thu, 06 Nov 2003 14:52:14 +0800
Date: 2003-11-06T14:52:14+08:00	[thread overview]
Message-ID: <3FA9EF9E.7040301@nowhere.com> (raw)
In-Reply-To: bocp4t$1d9kn1$1@ID-198985.news.uni-berlin.de



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




  reply	other threads:[~2003-11-06  6:52 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-17 14:45 gcc/gnat 3.3 Adrian Hoe
2003-10-17 21:12 ` Jeff C,
2003-10-17 21:48   ` GCC 5.01p (was: Re: gcc/gnat 3.3) Ludovic Brenta
2003-10-17 22:01     ` Jeff C,
2003-10-20 19:04 ` gcc/gnat 3.3 Andreas Almroth
2003-10-24  9:13   ` Adrian Hoe
2003-10-28  4:19     ` Adrian Hoe
2003-10-28  4:26       ` Jeff C,
2003-10-28 15:36         ` Adrian Hoe
2003-10-29  0:24           ` Jeff C,
2003-11-01  5:51             ` Adrian Hoe
2003-11-01 14:22               ` Jeff C,
2003-11-01 14:28                 ` Jeff C,
2003-11-01 14:52                 ` Ludovic Brenta
2003-11-03  9:36                   ` Adrian Hoe
2003-11-05 18:35                     ` Andreas Almroth
2003-11-06  5:06                       ` Adrian Hoe
2003-11-06  5:20                         ` Adrian Hoe
2003-11-06  6:19                           ` Andreas Almroth
2003-11-06  6:52                             ` Adrian Hoe [this message]
2003-11-06  8:54                               ` Andreas Almroth
2003-11-06 11:17                                 ` Adrian Hoe
2003-11-06 13:55                                   ` Andreas Almroth
2003-11-07  4:09                                     ` Adrian Hoe
2003-11-07  6:50                                       ` Andreas Almroth
2003-11-19  8:10                                         ` Adrian Hoe
2003-11-07  4:15                                     ` Adrian Hoe
2003-11-07  7:00                                       ` Andreas Almroth
2003-11-07  7:15                                         ` Adrian Hoe
2003-11-07 17:05                                           ` Andreas Almroth
2003-11-06  6:33                           ` Adrian Hoe
2003-10-28 14:48       ` Steve
2003-11-01 16:29         ` Andreas Almroth
2003-11-03  3:49           ` Adrian Hoe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox