[Top] [All Lists]

Re: Change -mcpu option for VR41xx

To: Yoichi Yuasa <>
Subject: Re: Change -mcpu option for VR41xx
From: "Maciej W. Rozycki" <>
Date: Thu, 27 Feb 2003 14:07:21 +0100 (MET)
In-reply-to: <>
Organization: Technical University of Gdansk
Original-recipient: rfc822;
On Thu, 27 Feb 2003, Yoichi Yuasa wrote:

> >  Ah, I see how it happens now -- "-mipsN" has a higher priority than
> > "-mcpu=" (but lower than "-march=") so in this case "-mips2" overrides
> > "-mcpu=vr4100".  How about:
> > 
> > GCCFLAGS    += -mcpu=vr4100 -Wa,--trap
> > 
> > then?
> That is fine.
> However, the following warning is displayed.
> Warning: The -mcpu option is deprecated.  Please use -march and -mtune 
> instead.

 Does is disappear with "-m4100"?  That would be strange.  And "-mcpu=" is
indeed deprecated, but it works for most versions and "-march=" and
"-mtune=" are too new to be used by everyone.  But as I wrote, we will end
with a test for these options eventually as "-mcpu=" is already removed
from the trunk.  As a result the warning will disappear.

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

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