This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: PATCH: Add --with-arch=cpu (Re: Should gcc configurted for CPU to generate code for CPU by default?)


On Fri, Jul 19, 2002 at 01:43:14PM -0400, Daniel Jacobowitz wrote:
> > > 
> > > Correct me if I am wrong. At least for x86, --with-cpu=i686 is no
> > > different from --target=i686-xxxxx, as far as the default code
> > > generation is concerned. For x86, there are -mcpu=xxx and -march=xxx.
> > > -with-cpu=xxx sets the default -mcpu=xxx. I want something to set
> > > the default -march=xxx. Looking at install.texi. --with-cpu should
> > > be used to set -march=xxx for x86. But for x86, TARGET_CPU_DEFAULT
> > > is for -mcpu=... I am looking for TARGET_ARCH_DEFAULT. --with-arch=...
> > > will work for me.
> > > 
> > > 
> > 
> > Here is a patch to add --with-arch=cpu.
> > 
> > 
> > H.J.
> 
> Can't this be done at the driver level?  We have different handling of
> 

What do you mean by that?


H.J.


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