This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: make gcc errors


I am not sure what linker I am using, is there a way to find out for sure?
running set shows no LIBPATH and _=linker.


------------------------

Joseph,

What it means is that it's looking for libm.a and not finding it.
Ordinarily if this happens it's because your LIBPATH env var is set wrong.
I think the xlC ld knows where to look for it so.... which linker are you
using?

best regards,
Gerard Bras

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]On
Behalf Of Joseph Mah
Sent: Friday, August 13, 2004 2:46 PM
To: gcc-help@gcc.gnu.org
Subject: make gcc errors


Hello, I am running AIX 4.3.3. and am using  the command:

make CFGLAGS='-O' LIBCFLAGS='-g -O2'
\LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap

towards the end I get an error:

make[1]: Entering directory `/gcc/gcc'
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prot
otypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H -DGENERATOR_FILE  -o
genattrt
ab \
 genattrtab.o genautomata.o \
 rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o
insn-conditi
ons.o print-rtl1.o errors.o \
 varray.o ../libiberty/libiberty.a -lm
collect2: library libm not found
make[1]: *** [genattrtab] Error 1
make[1]: Leaving directory `/gcc/gcc'
make: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2

What does this mean?  Can anyone please help me?  Thanks for any suggestions
and helpful hints



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