RFC & patch: Rework MIPS command-line handling
Maciej W. Rozycki
macro@ds2.pg.gda.pl
Tue Jul 16 11:01:00 GMT 2002
On Tue, 16 Jul 2002, Paul Koning wrote:
> Maciej> There is no need, either, as there are "-march=mips1",
> Maciej> etc. equivalents, and specifying "-march=3000 -march=mips2"
> Maciej> is obviously incorrect for anyone...
>
> Actually, it isn't. By the usual rules, if you mention a switch more
> than once, the last occurrence is in effect. So this should be
> equivalent simply to saying -march=mips2.
I might have been unclear: with "-march=3000 -march=mips2" it is as you
describe, with "-march=3000 -mips2" one might not expect it as it's not
obvious the two options are of the same class.
> That rule is necessary to allow makefiles to set options that are
> generally in effect but can be overridden when needed.
Certainly.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
More information about the Binutils
mailing list