Resources for “Optimization in GCC”
March 1st, 2005 by M. Tim Jones in
GCC Home page: gcc.gnu.org
Using the GNU Compiler Collection (GCC): gcc.gnu.org/onlinedocs/gcc-3.2.2/gcc
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-19-09
- Nov-04-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.
Delicious
Digg
StumbleUpon
Reddit
Facebook








-O1 and inline-functions
On February 17th, 2005 Bill McConaughey (not verified) says:
The article states that -O is equivalent to -O0 (no optimization). The manual says -O0 and no "-O" option at all are the same, and -O is equivalent to -O1.
I am using -O with programs that require inline (using in and out macros), and I get inline function expansions for those and for memcpy etc., but the manual says the inline-functions optimization is only done with -O3. Is this an error in the manual?
Where are the source files fr
On February 4th, 2005 Anonymous (not verified) says:
Where are the source files from your article. I am specifically interested in your timing calls. TIA
Post new comment