Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USE Flags
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
cookie
n00b
n00b


Joined: 26 Feb 2003
Posts: 36
Location: Manchester England

PostPosted: Thu May 22, 2003 6:59 pm    Post subject: USE Flags Reply with quote

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
View user's profile Send private message
gilesc
n00b
n00b


Joined: 01 Dec 2002
Posts: 40

PostPosted: Sun May 25, 2003 7:01 pm    Post subject: CFLAGs Reply with quote

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
View user's profile Send private message
Blademan
Developer
Developer


Joined: 05 Oct 2002
Posts: 116

PostPosted: Tue May 27, 2003 2:07 am    Post subject: Reply with quote

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:
Code:
emerge -eu world
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. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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