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

Bug#176064: gcc-3.2: Provide a way to build cpu-specific versions



Package: gcc-3.2
Version: 1:3.2.2-0pre3
Severity: wishlist

I've been rebuilding all my packages with Athlon optimization, using a
combination of pbuilder and pentium-builder.  Unfortunately, because
of the way this works, gcc-3.2 isn't compiled with Athlon
optimization.  It would be nice to have a way to get this to happen.

Probably the easiest way (for me) would be to recognize the
DEBIAN_BUILDARCH environment variable, which is also what
pentium-builder uses.  If the variable were set, stage 2 and above,
along with the libraries, would be built using
"-O... -march=$DEBIAN_BUILDARCH -mcpu=$DEBIAN_BUILDARCH".

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux frobnitz 2.4.20 #1 Mon Dec 2 03:36:24 PST 2002 i686 unknown unknown GNU/Linux

Versions of the packages gcc-3.2 depends on:
ii  binutils       2.13.90.0.16-1 The GNU assembler, linker and binary utiliti
ii  cpp-3.2        3.2.2-0pre3    The GNU C preprocessor
ii  gcc-3.2-base   3.2.2-0pre3    The GNU Compiler Collection (base package)
ii  libc6          2.3.1-9        GNU C Library: Shared libraries and Timezone
ii  libgcc1        3.2.2-0pre3    GCC support library

-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card



Reply to: