Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42339 - GCC optimization control flag "-O" was typed as "-o" on the code listing 16,,,
Summary: GCC optimization control flag "-O" was typed as "-o" on the code listing 16,,,
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Benny Chuang (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 01:37 UTC by Takuo
Modified: 2004-02-21 12:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Takuo 2004-02-21 01:37:07 UTC
If I type the "-O" flag,,, "-o3" with miniscul "o" as the code listing 16 indicating,,on the CFLAGS variable line of /etc/make.conf,,,
like,,,
#CFLAGS="-o3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
instead of typing,,,
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
"scripts/bootstrap.sh" command will stop with error message...





Reproducible: Always
Steps to Reproduce:
1.type in the **CFLAGS=""**variable line with the GCC optimization control flag "-o..." as shown the manual code listing 16, instead of "-O..." with majuscul...
2.command #scripts/bootstrap.sh...
3.will stop,,, with error message..

Actual Results:  
,,, bootstrap.sh stop with error message...
Comment 1 Benny Chuang (RETIRED) gentoo-dev 2004-02-21 04:31:29 UTC
If I see it correctly, I don't see anywhere on the doc that says -O3 in  code listing 16
Comment 2 Takuo 2004-02-21 05:01:31 UTC
,,, in the code listing 16 named **GCC O setting** on the page ; 

http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=5

"-o2" is mistyped,,, I think...

it's should be

"-O2"





Comment 3 Benny Chuang (RETIRED) gentoo-dev 2004-02-21 05:50:54 UTC
it seems like a captial O for me..
I'll make this as invalid
Comment 4 Takuo 2004-02-21 06:09:32 UTC
it's okey for me,,, if you're ; )

even it still seems a miniscul "o" for me on the code listing...

thank you, anyway, Benny.C : ) for your service... have a nice day !
Comment 5 Takuo 2004-02-21 12:04:25 UTC
Thank you for the change ! : ) 
I can see a capital "O" on the code listing now ; )
Nice day !