|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-01 15:30:29
Kevin,
Thanks for the heads-up. I'm not sure what I was thinking; everything you're
telling me is familiar territory. I was sure that I'd seen -O4 at least on
some targets, and that it's treated as -O3 by all others.
Anyway, I've fixed it up according to what you said.
You don't happen to have any info for me w.r.t.
http://groups.yahoo.com/group/boost/message/25956, do you?
Thanks again,
Dave
----- Original Message -----
From: "Kevin S. Van Horn" <kevin.vanhorn_at_[hidden]>
> The tools file for gcc appears to use -O4 for "optimize for speed", and
> -O2 for "optimize for size". The documentation I have for gcc (from gcc
> 3.0.4) lists no -O4 flag whatsoever, although there is a -O3 flag. It
> says that -O2 performs "nearly all supported optimizations that do not
> involve a space-speed tradeoff", and states that -Os is "optimize for
> size".
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk