LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 02-24-2005, 10:20 PM   #1
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 625

Rep: Reputation: 32
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
 
Old 02-25-2005, 12:27 AM   #2
rat51man
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
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.
 
Old 02-25-2005, 06:26 PM   #3
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
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.
 
Old 02-25-2005, 06:55 PM   #4
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
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.
 
Old 02-26-2005, 07:02 PM   #5
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 625

Original Poster
Rep: Reputation: 32
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 04:24 AM
rpmbuild --with : mysql - unknown option. How to pass extra options to build? fireman949 Red Hat 0 07-06-2005 07:53 PM
i can't find the file /etc/apt/apt.conf. lsj Linux - Newbie 1 05-21-2004 03:24 AM
passing options to build-in-modules nielchiano Linux - General 4 02-18-2004 12:40 AM
modules.conf question, options gpeterson1 Linux - Hardware 6 02-24-2003 05:08 PM


All times are GMT -5. The time now is 10:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration