View previous topic :: View next topic |
Author |
Message |
monk n00b
Joined: 25 Jul 2002 Posts: 6
|
Posted: Sun Sep 15, 2002 7:47 pm Post subject: USE FLAGS AND OPTIMIZATION ON P166 |
|
|
Hi! I was just woundereing what you would recomend me to set in the /etc/make.conf file?
The server is running on a Pentium 166 MHz (not mmx i think.. it did not stand anything about mmx in the /proc/cpuinfo file)
This is what i set the optimization settings to:
Code: |
# Pentium/Pentium MMX+ exclusive (requires a Pentium Classic or K6 or beyond)
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i586 -O3 -pipe -fomit-frame-pointer"
|
Since this should be a server I have set my USE flags not to use -X -QT -KDE and so on. I havent access to the server as I write this but ill post my USE flags within 10 hours
Does this sounds OK ? What could i change? Anyone of you installed a server with a P166 and without X? How does it work? What kind of optimazition did you use? What flags did / didnt you use?
- Thanks!
- Anders |
|
Back to top |
|
|
Scandium Retired Dev
Joined: 22 Apr 2002 Posts: 340 Location: Germany
|
Posted: Mon Sep 16, 2002 12:43 am Post subject: |
|
|
http://www.freehackers.org/gentoo/gccflags/
might be a good page for you
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=pentium -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium -O3 -pipe -fomit-frame-pointer"
seems to be standard and most reasonable setting for p1 without mmx and gcc 3.2.x or greater...
About the use flags...you should be check them twice because you might get surpised if you forget for example -gtk or so
To be sure, do emerge -p before every emerge until a few merges have passed and you can be sure not to have any X/GUI related things still going on |
|
Back to top |
|
|
monk n00b
Joined: 25 Jul 2002 Posts: 6
|
Posted: Mon Sep 16, 2002 7:37 am Post subject: |
|
|
This is the USE flags i set for this server:
Code: |
USE="-oss -3dnow -arts -avi -kde -gnome -opengl -gtk -X -xmms -xm -svga -gpm -qt mysql samba"
|
By the way, is the useflags case sensetive? Does the useflags have any influence on the "emerge system" and "bootstrap" processes?
Does this looks okey? I DONT want X on the server. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Sep 16, 2002 8:22 am Post subject: |
|
|
monk wrote: | is the useflags case sensetive? |
Yes.
monk wrote: | Does the useflags have any influence on the "emerge system" and "bootstrap" processes? |
Yes, although for bootstrap, the only USE flag that I can think of that would have much effect would be nls when building glibc.
Quote: | I DONT want X on the server. |
Then always preflight with emerge's "pretend" option, to make sure xfree isn't going to getting dragged in. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|