Trying to recompile existing packages or new packages with optimization
DebianThis forum is for the discussion of Debian Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
You may want to search on "debian from scratch" or for just the individual packages pentium-builder.
Maintainer: Alex Pennace <firstname.lastname@example.org>
Depends: gcc | g++, perl
Description: force pentium optimized compilation
Replaces gcc, cc, and g++ with scripts that build pentium optimized code.
(Other processors can be optimized for as well.)
By default, after installing this package, the compilers will behave
normally. However, if the environment variable DEBIAN_BUILDARCH=pentium
is set, they will enter pentium optimized compile mode.
Tag: admin::configuring, devel::packaging, role::sw:plugin, suite::debian, use::configuring
apt-build has removed my pentuimbuilder dohh (I didn't really like this awfull hack anyway)
Okay I'll have a look at LFS forum.
edit: by the way I don't see why we have to rely on pentiumbuild to build optimized packages.. nobody in debian.org has pentium or what?
The packages like so many other things in life are built for the lowest common denominator which when you think about it makes sense when you take into consideration the extra archive space it would take to build an i386, 486, 586, 686, k7, cyrix .... plus all the bugs that could possibly be introduced by doing it. You can go with Debian as there is a Debian from scratch effort as I mention in my previous post first hit on Google if you search.
Yes I agree that they don't have to store optimized BINARY packages (not everybody has a brand new pentium120, too much space on their servers and maybe instability with -O3) but they could give me a configuration file for recompiling it myself at least. Strange
http://julien.danjou.info/article-apt-build.html is referenced by Martin Kraft. He also mentions repacking and customizing packages with dpkg-repack,fakeroot, and debedit(to modify version number) in Chapter5 of Debian System Concepts and Techniques.
Thats exactly this link that made me post this thread. As I said it seems to still compile with old options. also this link is quite old, does it work with gcc4,...
I will look at chapter 5 and post my findings.
thanx a lot
edit: Oh I looked too quickly I thought it was in debian ref manual. I think it's worth bying this book.