This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Question on -mips switch for MIPS processor
- To: gcc at gcc dot gnu dot org
- Subject: RE: Question on -mips switch for MIPS processor
- From: "Billinghurst, David (RTD)" <David dot Billinghurst at riotinto dot com dot au>
- Date: Tue, 18 Jan 2000 21:58:02 -0000
You can't run -mips4 binaries on R4000 mips-sgi-irix
By default, recent versions of gcc generate mips4 binaries when compiled on
irix-6.5 based mips4 machines. These don't run on my R4400 Indigo2.
I submitted a patch for this
http://gcc.gnu.org/ml/gcc-patches/1999-06/msg00562.html but it didn't make
it
+++++++++++++++++++++++++++++++++++++++++
(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
> -----Original Message-----
> From: kenner@vlsi1.ultra.nyu.edu [SMTP:kenner@vlsi1.ultra.nyu.edu]
> Sent: Wednesday, 19 January 2000 7:35
> To: gcc@gcc.gnu.org
> Subject: Question on -mips switch for MIPS processor
>
> Why does -mips3 default to -mabi=64?
>
> Just because somebody has a processor that has those instructions doesn't
> mean they want to use the 64-bit ABI. You can interoperate binaries
> between the different values of the -mips switch, but not -mabi.
>
> So it would seem to me that the -mips value should not affect the
> -mabi value at all.
>
> What do others think?