help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems building on Irix


From: Stuart Gall
Subject: Problems building on Irix
Date: Mon, 12 Nov 2001 15:19:24 +0200

Hello,
I am trying to build gcc in MIPS Irix 6.2
I followed the specific instructions for building on mips.
I managed to build gmake which solved some initial problems, but now I
am stuck.

I am building with:

setenv CC 'cc -n32'
/usr/local/bin/make distclean
../gcc-3.0.2/configure --disable-multilib --without-gnu-as
--without-gnu-ld --enable-languages=c,c++
/usr/local/bin/make bootstrap

After lots of stuff I get
/usr/people/stuart/gcc-target/gcc/xgcc
-B/usr/people/stuart/gcc-target/gcc/ -B/usr/local/mips-sgi-irix6.2/bin/
-B/usr/local/mips-sgi-irix6.2/lib/ -isystem
/usr/local/mips-sgi-irix6.2/include -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.0.2/libstdc++-v3/libmath -I.. -g -c
../../../../gcc-3.0.2/libstdc++-v3/libmath/signbitf.c -o signbitf.o
>/dev/null 2>&1
/bin/sh ../libtool --mode=compile /usr/people/stuart/gcc-target/gcc/xgcc
-B/usr/people/stuart/gcc-target/gcc/ -B/usr/local/mips-sgi-irix6.2/bin/
-B/usr/local/mips-sgi-irix6.2/lib/ -isystem
/usr/local/mips-sgi-irix6.2/include -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.0.2/libstdc++-v3/libmath -I..      -g -c
../../../../gcc-3.0.2/libstdc++-v3/libmath/stubs.c
/usr/people/stuart/gcc-target/gcc/xgcc
-B/usr/people/stuart/gcc-target/gcc/ -B/usr/local/mips-sgi-irix6.2/bin/
-B/usr/local/mips-sgi-irix6.2/lib/ -isystem
/usr/local/mips-sgi-irix6.2/include -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.0.2/libstdc++-v3/libmath -I.. -g -c
../../../../gcc-3.0.2/libstdc++-v3/libmath/stubs.c   -DPIC -o
.libs/stubs.o
../../../../gcc-3.0.2/libstdc++-v3/libmath/stubs.c:129: conflicting
types for `hypotl'
/usr/people/stuart/gcc-target/gcc/include/math.h:557: previous
declaration of `hypotl'
make[4]: *** [stubs.lo] Error 1
make[4]: Leaving directory
`/usr/people/stuart/gcc-target/mips-sgi-irix6.2/libstdc++-v3/libmath'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/people/stuart/gcc-target/mips-sgi-irix6.2/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/usr/people/stuart/gcc-target/mips-sgi-irix6.2/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/usr/people/stuart/gcc-target'
make: *** [bootstrap] Error 2

In my previous attempt I did not have the 
 --without-gnu-as --without-gnu-ld and --enable-languages=c,c++ switches
and it barfed at the same point.

Errr HELP!
PS all I want to do is build exim :-(

TIA

-- 

Stuart Gall.
Systems Administrator
PPV, Athens, Greece.
TEL             +30 1 0619 9085
Business        stuart@ppv.gr
Personal        stuart_gall@yahoo.com, stuart@otenet.gr
-------------------------------------------------------
The day microsoft makes something that doesn't suck,
will be the day they start making vacuum cleaners.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]