This is the mail archive of the gcc@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: Should gcc configurted for CPU to generate code for CPU bydefault?


On Fri, 2002-07-19 at 16:14, H. J. Lu wrote:
> When I configure gcc for i686 with
> 
> .../configure --target=i686-xxxxx
> 
> I'd like to be able to make gcc generate code for i686 by default. It
> is also useful for MIPS. I am thinking adding
> 
> --with-default-CPU=cpu

FYI, the arm port already has a "--with-cpu=CPU" configure option that
does pretty much this.  Having gcc automatically take the cpu name from
the target tuple (ie --target=i686-linux implying 686 code) is probably
not desirable.

p.



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