This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: make gcc errors
- From: "Joseph Mah" <jmah at caduc dot com>
- To: "Bras, Gerard" <gbras at anacomp dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Fri, 13 Aug 2004 15:10:34 -0400
- Subject: Re: make gcc errors
- Organization: Caduceus Inc.
- References: <66911C8E1F2DA24EB29DE289297A135E1FC037@usrd104.corp.anacomp.com>
- Reply-to: "Joseph Mah" <jmah at caduc dot com>
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