This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC & patch: Rework MIPS command-line handling


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        +


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