How to build a mips3 binary on mips-sgi-irix6.5
Jeffrey A Law
law@cygnus.com
Wed Jun 30 15:43:00 GMT 1999
In message < A9E96A79C068D211A6A90000C07BDF0D1DE856@CRTSMAIL >you write:
> 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)
You will have to multilib things so that you end up with both mips3 and mips4
support files like crtbegin, libgcc, etc.
jeff
More information about the Gcc
mailing list