This is the mail archive of the gcc-bugs@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]

[Bug target/21852] Need method of changing default CPU for target


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-31 23:52 -------
(In reply to comment #0)
> I'm sure many people would also find it useful for other platforms, i.e. x86.

X86 already have it in form of --with-cpu= and so does SPARC.

In fact it is documented too:
--with-cpu=cpu
Specify which cpu variant the compiler should generate code for by default. cpu will be used as the 
default value of the -mcpu= switch. This option is only supported on some targets, including ARM, 
i386, PowerPC, and SPARC. 


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21852


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