This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with '-static' in 3.0 release on AIX


On 06/20/2001 11:06:48 AM David Edelsohn wrote:
> 
>       I do not configure with --enable-threads=pthreads.  What is in
> your libstdc++.a?  Are you somehow finding GNU ld and GNU ar during
> configuration?

I have the GNUPro tools for AIX at the front of my path, as can be seen by 
the type commands below.  Is this wrong to do while configuring?  I 
thought I needed to do that (along with the --with-gnu-as 
--with-as=/opt/gnupro/aix43-000718/H-powerpc-ibm-aix4.3.3.0/bin/as) to get 
gcc to build on AIX.

Do I need to specify any --enable-threads to get the compiler to work with 
threaded code, or is this the default with AIX?  If I don't specify 
pthreads in this way, will the compiler work with code I have that uses 
pthreads?

What flags do you use to configure gcc for a bootstrap build?  I can 
reconfigure/rebuild with those flags and see if my problem goes away.

Matt

[/u/conwaym]-> ar -t /opt/gcc-3.0/lib/libstdc++.a
libstdc++.so.3

[/u/conwaym]-> type as 
as is /opt/gnupro/aix43-000718/H-powerpc-ibm-aix4.3.3.0/bin/as

[/u/conwaym]-> type ar
ar is /opt/gnupro/aix43-000718/H-powerpc-ibm-aix4.3.3.0/bin/ar

[/u/conwaym]-> type ld
ld is /usr/bin/ld

[/u/conwaym]-> as -v
GNU assembler version 2.9-aix43-000718 (powerpc-ibm-aix4.3.3.0) using BFD 
version 2.9-aix43-000718

[/u/conwaym]-> ar -V
GNU ar 2.9-aix43-000718



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]