How to build a mips3 binary on mips-sgi-irix6.5

Billinghurst, David (RTD) David.Billinghurst@riotinto.com.au
Fri Jun 11 00:08:00 GMT 1999


We have a network of R10k and R4400 mips-sgi-irix6.5 machines.
By default we like to build -mips3 -n32 binaries as these run happily on
both platforms.

I built egcs-1.1.2 on an r10k machine, and it is an -mips4 application.
It can't build -mips3 binaries as 
"/usr/local/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.91.66/crtbegin.o is MIPS4"

Is there a way to build egcs on an r10k machine so it defaults to  -mips3 ?
(The alternative of building egcs on an r4400 indigo2 isn't attractive)

+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research Centre
PO Box 316, Thomastown, Vic, Australia, 3074
Phone:	+61 3 9469 0642
FAX:	+61 3 9462 2700
Email:	David.Billinghurst@riotinto.com.au






More information about the Gcc mailing list