FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.