View previous topic :: View next topic |
Author |
Message |
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Wed Aug 25, 2004 10:35 pm Post subject: Optimization: used "zero" instead of O |
|
|
First time using Linux.
I entered -03 instead of -O3 in CFLAGS in make.conf.
I only discovered the error now after finishing the stage 1 bootstrapping, which took just over 4 hours on my pIII 600 MHz with 320 mb ram.
I've already corrected the value, but what I'd like to know is would there be much point in starting again with the proper value?
Will this affect everything else I compile from this point?
What is the default optimization used if a correct value is not supplied?
Thanks. |
|
Back to top |
|
|
PMT Apprentice
Joined: 19 Jan 2004 Posts: 212
|
Posted: Wed Aug 25, 2004 10:53 pm Post subject: |
|
|
You're fine. It ignores unregistered values, so unless -03 refers to a compile option for GCC, which I don't believe it does, you're absolutely fine.
Go edit your /etc/make.conf and put in -O3, and delete -03, and that will affect all compiles done from now on.
Feel free to recompile things that need speed...like perhaps rsync, Portage, KDE/GNOME/your favorite WM and all its dependencies...I don't know how much difference it'll make, given that I've never compiled without -O2 or -O3 before, but I believe it should help.
Incidentally, don't bother recompiling everything; you'll end up recompiling it anyway when new versions come out, and if your make.conf is fixed, it'll use the settings in there. _________________ moo |
|
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
|
|