| View previous topic :: View next topic |
| Author |
Message |
MOS-FET Apprentice


Joined: 20 May 2003 Posts: 291 Location: Cologne, Germany
|
Posted: Sat May 31, 2003 4:27 pm Post subject: compile opts |
|
|
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 |
|
 |
robmoss Retired Dev

Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Sat May 31, 2003 4:33 pm Post subject: |
|
|
Have a look at
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 |
|
 |
MOS-FET Apprentice


Joined: 20 May 2003 Posts: 291 Location: Cologne, Germany
|
Posted: Sat May 31, 2003 4:39 pm Post subject: problem |
|
|
| shame on me :-( i wrote -03 (zero-three) instead of -O3. damn :-) |
|
| Back to top |
|
 |
|
|
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
|
|