The new mips gas breaks gcc 2.96

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Thu Aug 1 10:18:00 GMT 2002


Maciej W. Rozycki wrote:
> On Thu, 1 Aug 2002, H. J. Lu wrote:
> 
> > > -mcpu was deprecated in the last release.  It's now been removed.
> > 
> > I guess I have to put it back for gcc 2.96 in my Linux binutils.
> 
>  Well, the real solution would be to update the specs for gcc 2.96 --
> s/-mcpu/-mtune/ should suffice.

ITYM s/-mcpu/-march/.

>  I'm actually surprised why the change happened at all -- the i386 uses
> "-mcpu" and "-march"; why does MIPS have to use "-mtune" and "-march"
> instead?  And why can't it keep "-mcpu" as an alias if "-mtune" is needed
> for some reason?  It doesn't cost much. 

Much confusion here. :-)

The documentation says -mcpu for i386 is the same as -mtune is now for
MIPS, while -march has similiar meaning on both. But the old -mcpu for
MIPS did select scheduling as well as the set of valid opcodes.


Thiemo



More information about the Binutils mailing list