[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: recompilation and optimalization

Karol Czachorowski <narel@fantastyka.net> writes:

> Is there any way I could recompile existing packages in my system?
> apt-build has no documentation and seems not to work...

You might look through some of the generic Debian developer

> And if I use apt-get source and build manually, in many packages, I can't
> add optimalization flags to gcc/g++ (CFLAGS/CXXFLAGS aren't pass to
> compiler). Is there any (universal) way to pass flags to compiler while
> building debian packages?

No, there isn't.  You can edit debian/rules in each source package by
hand, or possibly build using something like pentium-builder.

Historically, though, Debian's position has generally been that
processor-specific optimizations would add a lot of space to the
archive and take up developer time, at very minimal performance gain
for most users.  There are exceptions, and things like crypto
libraries and linear algebra packages *do* have optimized versions
(I have a couple of files in /usr/lib/i686/cmov, for example).  Search
the list archives of debian-user and debian-devel for more information.

David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell

Reply to: