[Q] Optimization for Sun SPARC.
Daniel Carrera
dcarrera@math.umd.edu
Thu Jun 12 21:23:00 GMT 2003
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
More information about the Gcc-help
mailing list