View previous topic :: View next topic |
Author |
Message |
cookie n00b
Joined: 26 Feb 2003 Posts: 36 Location: Manchester England
|
Posted: Thu May 22, 2003 6:59 pm Post subject: USE Flags |
|
|
Now ive got my Ultra 5 to boot (thanks to weeve) I am trying to tweak the make.conf settings. I tried changing the CHOST from sparc-unknown-linux-gnu to Sun4u this seemed to break everything did I do something wrong?
My CFLAGS="-mcpu=ultrasparc -O3 -pipe"
What settings are you guys using successfully? |
|
Back to top |
|
|
gilesc n00b
Joined: 01 Dec 2002 Posts: 40
|
Posted: Sun May 25, 2003 7:01 pm Post subject: CFLAGs |
|
|
I'm recompiling X 4.3.0 at the moment with:
Code: |
CFLAGS="-mtune=ultrasparc -mcpu=ultrasparc -O3 -pipe -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt"
|
So far everything seems to be going OK. |
|
Back to top |
|
|
Blademan Developer
Joined: 05 Oct 2002 Posts: 116
|
Posted: Tue May 27, 2003 2:07 am Post subject: |
|
|
Quote: | changing the CHOST from sparc-unknown-linux-gnu to Sun4u this seemed to break everything |
That does seem not to work. For a U60, I use:
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O3 -pipe"
CXXFLAGS="${CFLAGS}"
With no problems for a few months now. If you do want to try some aggressive optimizations, you may want to try to add 1 at a time. You could always do a:to be sure the flags work. -eu world will recompile everything, and will take a few days, but at least you'll be sure it all works. |
|
Back to top |
|
|
|