LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt-build.conf....file options (https://www.linuxquestions.org/questions/debian-26/apt-build-conf-file-options-294569/)

utanja 02-24-2005 09:20 PM

apt-build.conf....file options
 
hi guys...been a while since i ask a question...lol

i am interesting in optimizing my debian system for pentium 4....

i discovered the apt-built programs but have a question about its configuration

this is my /etc/apt/apt-build.conf

build-dir = /var/cache/apt-build/build
repository-dir = /var/cache/apt-build/repository
Olevel = -O3
march = -march=pentium4
mcpu = -mcpu=pentium4
options = " "
make_options = " j"

what are the options i should be using for the compiler and is the -j options for the make_option ok...

thanks
utanja

rat51man 02-24-2005 11:27 PM

Seeing as you have a p4, in options you'd want:
-mmmx -msse -msse2
Which are all the features supported by Pentium 4's.
As for the -j, while I don't know for sure, I figure it should be fine.

ironwalker 02-25-2005 05:26 PM

The O3 option covers just about,if not all,the options needed.

The part of apt-build's readme on excludeing gcc and related items from rebuild is crucial.
I did a successful apt-build world a lil while back....not really a noticeable difference if ya ask me.

kostian 02-25-2005 05:55 PM

hi.
http://gentoo-wiki.com/Safe_Cflags
http://forums.gentoo.org/viewtopic-t...l-start-0.html
Quote:

-j jobs
Specifies the number of jobs (commands) to run simultaneously. If there is
more than one -j option, the last one is effective. If the -j option is
given without an argument, make will not limit the number of jobs that can
run simultaneously.
leaving it to default is a good idea or if your cpu supports hyperthreading you may try setting it to -j2

but imo if you want a system that just works, leave it as it is now, I mean 2.4Ghz and a gig of ram should have enough juice and "optimizing" can sometimes slow or even brake things.

utanja 02-26-2005 06:02 PM

Quote:

Originally posted by kostian
hi.
http://gentoo-wiki.com/Safe_Cflags
http://forums.gentoo.org/viewtopic-t...l-start-0.html

leaving it to default is a good idea or if your cpu supports hyperthreading you may try setting it to -j2

but imo if you want a system that just works, leave it as it is now, I mean 2.4Ghz and a gig of ram should have enough juice and "optimizing" can sometimes slow or even brake things.

thank you so much...i will try again to apt-build an application....:)
utanja


All times are GMT -5. The time now is 05:03 AM.