LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Apt-build optimizations for Pentium 4 ??? (https://www.linuxquestions.org/questions/debian-26/apt-build-optimizations-for-pentium-4-a-319817/)

Rayen16 05-03-2005 04:00 PM

Apt-build optimizations for Pentium 4 ???
 
Hi,

I have installed the Debian (Sarge) Base System and kernel-image 2.6.8-2 from apt-get and I got it up & running succesfully for my system. I would like to compile (optimize) X for my system, but I don't really know what optimizations I should use for it, I have installed apt-build with the command:

apt-get install apt-build

This is currently all I have :

$ cat /etc/apt/apt-build.conf
build-dir = /var/cache/apt-build/build
repository-dir = /var/cache/apt-build/repository
Olevel = -O3 (#This is the maximum optimization)
march = -march=pentium4
mcpu = -mcpu=pentium4
options =

This is my PC:
Design 300Watt P4 Miditower
Asus P4T-E i850 Rambus Socket 478
Pentium 4-2000 Mhz CPU+Cooler
512mb Rambus PC-800
80gb Maxtor U-133 7200RPM
64mb GF4 Ti4200+TV-Out+DVI
Creative Soundblaster Live 5.1 (Digital)
3Com EtherLink XL 10/100 PCI For Complete PC Management NIC (3C905C-TX)
Creative FPS 1600 Speakers, 17" Lite-On TFT Monitor

I have read a lot about those optimizations but I simply don't know if my system need it or not.

So I was wondering somebody knows some other effective/better options to add to my apt-build config ? And is my apt-build correctly set up?

Thank you,

Rayen

Matir 05-03-2005 06:29 PM

I may be missing something here, but it seems you're mixing Gentoo and Debian???

Rayen16 05-04-2005 01:36 AM

Oh Sorry, I meant the "Debian Base System"

Matir 05-04-2005 08:41 AM

it's cool. I don't know if these are enabled by default, but you might want -fno-frame-pointer -pipe.

Rayen16 05-04-2005 09:23 AM

Where should I put that pipe and fno-frame-pointer (are you sure it isn't: -fomit-frame-pointer)?


All times are GMT -5. The time now is 08:48 PM.