linux-mips
[Top] [All Lists]

Re: Support for newer gcc/gas options

To: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Subject: Re: Support for newer gcc/gas options
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Tue, 20 Jan 2004 13:59:29 +0100 (CET)
Cc: linux-mips@linux-mips.org
In-reply-to: <20040120124518.GY22218@rembrandt.csv.ica.uni-stuttgart.de>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20031223114644.GA5458@sonycom.com> <Pine.LNX.4.55.0312231303030.27594@jurand.ds.pg.gda.pl> <Pine.LNX.4.55.0401201332080.12841@jurand.ds.pg.gda.pl> <20040120124518.GY22218@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 20 Jan 2004, Thiemo Seufer wrote:

> >  It took a bit longer than I planned, sorry.  Anyway, here are two
> > functionally equivalent patches, for 2.4 and the head, that remove an ISA
> > specification if a tool supports "-march=" and "-mabi=" at the same time.  
> 
> FYI:
> A test for the existence of -march= should be enough, -mabi= was
> implemented earlier. OTOH, it does no harm to check both.

 Well, FWIW my port of gcc 2.95.4 supports -march= (by aliasing it to
-mcpu=, but the option is passed down to gas as is) to cooperate with
current binutils, but its support for -mabi= varies depending on the
configuration: mips64el-linux-gcc does support the option, but
mipsel-linux-gcc does not.  I suppose others may also want to have -march=
support in 2.95.4 for binutils compatibility, especially as AFAICS 2.95.4
has a huge speed advantage over later versions of gcc.

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>