LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 01-11-2005, 05:29 PM   #1
orvtech.com
LQ Newbie
 
Registered: Apr 2004
Location: Miami, US
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
apt-build and Fedora ?


Is it possible to use apt-build to rebuild the all the OS Fedora optimized for may P3 or for a Pentium-M or Pentium4 and so on ...?

i mean like gentoo does.. you can handle certain variables and pass some flags to the gcc and the make proces so that it will optimize the packages for the architechture specified.
 
Old 02-07-2005, 06:48 AM   #2
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
I guess it's on kernel level coz it should be handling the gcc don;t know
 
Old 02-07-2005, 05:08 PM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Consider searching the fedora-devel-list archives on extensive explanations why this would be wasted effort.

http://www.redhat.com/mailman/listin...ora-devel-list

For instance, all i386 packages are optimised for i686 architecture already, but with i386 compatible instruction set. The most important system binaries, e.g. Linux kernel, C Standard Library, OpenSSL, are available optimised for specific architectures, e.g. the glibc i686 package.
 
Old 02-07-2005, 05:40 PM   #4
orvtech.com
LQ Newbie
 
Registered: Apr 2004
Location: Miami, US
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
CLFALGS

yes but im refering to for instance pentium-m optimization
or some thing that spesific like

CFLAG= "march=pentium-m -O2 fomit-fram-pointers"
 
Old 02-07-2005, 06:01 PM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Have fun trying to find out in lots of hours of recompiling hundreds of packages, where -fomit-frame-pointer would result in noticable performance increase and not make things worse.
Anyway, it is not my intention to discuss this here and/or refresh what has been beaten to death elsewhere.

But sure, you can modify the default $RPM_OPT_FLAGS in /usr/lib/rpm/redhat/rpmrc, and any package specific ones you find in the src.rpm spec files.

Last edited by misc; 02-07-2005 at 06:03 PM.
 
Old 02-07-2005, 06:04 PM   #6
orvtech.com
LQ Newbie
 
Registered: Apr 2004
Location: Miami, US
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by misc
Have fun trying to find out in lots of hours of recompiling hundreds of packages, where -fomit-frame-pointer would result in noticable performance increase and not make things worse.
Anyway, it is not my intention to discuss this here and/or refresh what has been beaten to death elsewhere.

But sure, you can modify the default $RPM_OPT_FLAGS in /usr/lib/rpm/redhat/rpmrc, and any package specific ones you find in the src.rpm spec files.
thanks a lot that was what i was looking for!!!!!
 
Old 02-08-2005, 06:56 AM   #7
johnnydangerous
Member
 
Registered: Jan 2005
Location: Sofia, Bulgaria
Distribution: Fedora Core 4 Rawhide
Posts: 431

Rep: Reputation: 30
Quote:
Originally posted by misc
Have fun trying to find out in lots of hours of recompiling hundreds of packages, where -fomit-frame-pointer would result in noticable performance increase and not make things worse.
Anyway, it is not my intention to discuss this here and/or refresh what has been beaten to death elsewhere.

But sure, you can modify the default $RPM_OPT_FLAGS in /usr/lib/rpm/redhat/rpmrc, and any package specific ones you find in the src.rpm spec files.
for Athlon? what flag
 
Old 02-08-2005, 09:35 AM   #8
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Take a look at the rpmrc file. Several architectures are predefined. You need not change anything if you just wanted to compile a source rpm package specifically for Athlon. You would run "rpmbuild --target athlon --rebuild filename.src.rpm" and get the .athlon.rpm after some time.
 
Old 02-08-2005, 09:52 AM   #9
orvtech.com
LQ Newbie
 
Registered: Apr 2004
Location: Miami, US
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 15
OK i have decided to install Gentoo instead of optimicing fedora. thanks any way
 
Old 02-08-2005, 10:54 AM   #10
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
All i386 Fedora packages are built with -m32 -march=i386 -mtune=pentium4 already.
 
  


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
Apt build i_m_meen Debian 4 07-04-2005 02:58 PM
Apt-build RobNyc Debian 1 02-22-2005 03:14 PM
apt-build?? wrat Debian 7 02-22-2005 02:07 AM
apt-build ahz Fedora 0 01-10-2005 11:10 PM
apt-build oldstinkyfish Linux - Software 0 11-14-2004 04:58 AM


All times are GMT -5. The time now is 06:00 AM.

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