This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question on -mips switch for MIPS processor



Richard Kenner writes:
 > Why does -mips3 default to -mabi=64?

Because that's what the SGI compilers did.

 > Just because somebody has a processor that has those instructions doesn't
 > mean they want to use the 64-bit ABI.  

No, but it's not a bad default.

 > 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?

What ABI would you have it default to, and why would that
be a better choice?

                                            -gavin...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]