This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
> > From: Joe Buck <jbuck@Synopsys.COM> > > To: law@cygnus.com > > Date: Tue, 26 Jan 99 9:54:36 PST > > > But for i386, we have -mcpu=x -march=y, and -mcpu for Intel means > > the same as -mtune on Sparc! -march is used to generate code that > > requires a particular processor. > > This is unfortunate. We need a command decision to bit the bullet and > then to make the ports conform to this decision and document it. > :-( My guess is the SPARC port is wrong and should be fixed. Well on the ARM, -mcpu=<cpu> is short-hand for "-march=<archof(cpu)> -mtune=cpu". It makes life a little more complicated for me, but much easier for the user since only one option has to be given instead of two.