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

[Q] Optimization for Sun SPARC.


Hi,

I'm about to compile GCC 3.3 on Solaris 2.8.  I thought that it'd be a 
good idea to optimize GCC *itself* to make future compilations faster.

I'm trying to figure out how to get the most optimization possible out of 
GCC.  I was thinking of "-O3 -fmove-all-movables".  Is there anything I 
should add to that?

I know that "-ffast-math" can cause problems with some programs.  Can I 
use "-ffast-math" to compile GCC itself?

Also, I need help figuring out the architacture-specific flag 
"-mcpu=cpu_type".  How do I find out what cpu type my computer has?

Thanks for the help.
-- 
Daniel Carrera         | OpenPGP fingerprint:
Graduate TA, Math Dept | 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88
UMD  (301) 405-5137    | http://www.math.umd.edu/~dcarrera/pgp.html


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