CPUTYPE and gcc optimizations

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Feb 11 15:52:12 PST 2007


Petr Janda wrote:
I'm wondering if its good o set CPUTYPE for extra optimization, or if 
its ok to set any other extra  compiler optimizations other than the 
default.
don't set -march/-mtune + -O2/-Os with gcc3.4 and stack protector, it produces bad code.  normal -O is fine, though.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00009.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20070211/e8da8371/attachment-0021.obj>


More information about the Users mailing list