[ale] gcc

James P. Kinney III jkinney at localnetsolutions.com
Tue Apr 2 21:49:40 EST 2002


There is a gcc flag that turns on optimization. -O2 (that is the letter
Oh not the number zero) is about as good as gcc will do. You can do -O3,
but what I have read is that it mostly takes longer to compile.

Optimizing benefits are most often found through using good coding and
well tested algorithms.

A while back, some hardcore hacker had written a mini distribution in
assembler. Of course it only ran on intel. Which is why C was developed.

On Tue, 2002-04-02 at 20:52, Stephen Turner wrote:
> well im a noob to compilers especially linux so please
> forgive my ignorance.  how optimized can gcc optimize
> code? i almost started to learn about assembly but
> just read up a bit on it, from what i understand
> assembly is the machine code, it is specific to only
> an athelon  or only a k6 etc, (unless they share the
> same code?) asembly is the instruction set the
> processor speaks right? ahh well i just wanted to
> know, i want to get my code as optimized as possible
> and also wanted to experiment with it. please input :)
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 
-- 
James P. Kinney III   \Changing the mobile computing world/
President and COO      \          one Linux user         /
Local Net Solutions,LLC \           at a time.          /
770-493-8244             \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list