This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
building gcc on an SGI O2 r5000
- From: "Daniel L. H. Pasco" <dan at brainmurmurs dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 19 Dec 2001 18:48:25 -0800
- Subject: building gcc on an SGI O2 r5000
Hi everybody. I have a blue toaster that I want to build gcc on. I'm
using the 3.0.1 tardist from freeware.sgi.com to build it. I'm trying to
compile the latest version from cvs. I'm running 'configure' in a
different directory than the gcc source code directory.
I am using gnu make and gnu m4.
I am eschewing "make bootstrap" as this evidently has some issues under
irix at this time.
I have set CC as follows
export CC="gcc -mips4 -mabi=n32 -mcpu=r5k"
I have run configure as follows
/usr2/gcc/configure --enable-languages=c++,java --enable-libgcj
--enable-shared --disable-multilib
...
And then I end up with this:
/usr/people/dan/gcc-build/gcc/xgcc -B/usr/people/dan/gcc-build/gcc/
-B/usr/local/mips-sgi-irix6.5/bin/ -B/usr/local/mips-sgi-irix6.5/lib/
-isystem /usr/local/mips-sgi-irix6.5/include -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
-I/usr2/gcc/gcc -I/usr2/gcc/gcc/. -I/usr2/gcc/gcc/config
-I/usr2/gcc/gcc/../include -DL_muldi3 -c /usr2/gcc/gcc/libgcc2.c -o
libgcc/./_muldi3.o
/usr2/gcc/gcc/libgcc2.c: In function `__muldi3':
/usr2/gcc/gcc/libgcc2.c:359: Internal compiler error in c_expand_expr, at
c-common.c:3453
That's about as complete as I can get right now. If anyone has any
suggestions I'd love to hear them, likewise if there are any questions
I'll be happy to try and answer them.
-Daniel