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]

Re: IRIX 6.x issues



Tor Arntsen (tor@spacetec.no) wrote:

> 2. The mabi=64 format does not support mips3 (even when -mips3 is specified
>    it generates mips4)

I reported this problem for egcs 1.0.2 back in March, in this message:
<URL:http://www.cygnus.com/ml/egcs/1998-Mar/0873.html>.  Basically, the
problem is this:

   "gcc -mabi=n32" generates mips3 code by default.
   "gcc -mabi=64"  generates mips4 code by default.

When multilib gets invoked to build the gcc libraries, it builds one set 
for each of the two options "-mabi=n32" and "-mabi=64".  The latter is
therefore built as a mips4 library.  So, any time you compile with
"-mabi=64", your code gets linked with a mips4 library, making it a
mips4 executable, even if you specify "-mips3" on the command line.

Of course, the patch I submitted in the referenced message is completely
bogus, but that's another story...
-- 
Jerry James
Email: jerry@cs.ucsb.edu
WWW:   http://www.cs.ucsb.edu/~jerry/


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