This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: IRIX 6.x issues
- To: egcs at cygnus dot com
- Subject: Re: IRIX 6.x issues
- From: jerry at cs dot ucsb dot edu (Jerry James)
- Date: 28 Aug 1998 11:11:27 -0700
- References: <199808192339.BAA11694@pallas.spacetec.no>
- Reply-To: jerry at cs dot ucsb dot edu (Jerry James)
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/