Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compile opts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MOS-FET
Apprentice
Apprentice


Joined: 20 May 2003
Posts: 291
Location: Cologne, Germany

PostPosted: Sat May 31, 2003 4:27 pm    Post subject: compile opts Reply with quote

hello,

can someone please explain the meaning of the -03 (or -02) and -pipe cflags when compiling? what do they do, whats with performance/stability of the resulting binaries? i actually have set cflags to march=athlon-xp -03 -pipe, but i've recognized that for example when i compile the kernel, it only says march=athlon-xp, the two other args are missing. when i was emerging rp-pppoe it said unknown argument:"-03" when it was compiling. is that normal?

thanks
tom
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Sat May 31, 2003 4:33 pm    Post subject: Reply with quote

Have a look at

Code:
info gcc


then head down to "Invoking GCC" and then "Optimize Options" and this will explain every optimization flag there is (including -O2, -O3, -pipe and others).

Unfortunately, I can't help with your rp-pppoe problem as I have a LAN connection to the net, so don't use rp-pppoe - anyone know?
Back to top
View user's profile Send private message
MOS-FET
Apprentice
Apprentice


Joined: 20 May 2003
Posts: 291
Location: Cologne, Germany

PostPosted: Sat May 31, 2003 4:39 pm    Post subject: problem Reply with quote

shame on me :-( i wrote -03 (zero-three) instead of -O3. damn :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum