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

Optimized compilation



Hi,

I wanted to recompile the packages I use the most to my precise
architecture to get the most out of my CPU. After some (too) long
searches, I found a list of GCC targets (don't the AMD of the i386
family have specificities ? I only found i686 fitting my needs), and
where it was told to gcc by dpkg. But dpkg seems not willing to hear
anything else tant i386 :

$ grep -n "1\.0\.6" /usr/bin/dpkg-architecture
39:#  1.0.6  Revert to i386 to comply with policy § 5.1.

But the § 5.1 of the policy deals about Time Stamps...

I tried this but when I ran dpkg-architecture, it output only i386 for
all variables :

--- /usr/bin/dpkg-architecture	2002-07-14 22:19:49.000000000 +0200
+++ dpkg-architecture	2002-09-28 02:59:51.000000000 +0200
@@ -96,7 +96,7 @@
 sub rewrite_gnu_cpu {
 	local ($_) = @_;
 
-	s/(?:i386|i486|i586|i686|pentium)(.*linux)/i386$1/;
+	# s/(?:i386|i486|i586|i686|pentium)(.*linux)/i386$1/;
 	s/ppc/powerpc/;
 	return $_;
 }

So how can I compile my packages specifically for my CPU ?

Nightly,
le Moine Fou
-- 
mailto:pierre.thierry@moine-fou.org
OpenPGP 0xD9D50D8A

Attachment: pgpX8V5AmB_tm.pgp
Description: PGP signature


Reply to: