[wplug] Debian 64 bit?

Eric Cooper ecc at cmu.edu
Wed Jul 25 11:54:13 EDT 2012


On Wed, Jul 25, 2012 at 08:36:18AM -0400, Jonathan Billings wrote:
> Does anyone know why debian still uses amd64 instead of the more
> widely used x86_64?

The underscore in x86_64 would break the Debian package name syntax:
    <name>_<version>_<arch>.deb

The GNU triples can still be used in build scripts etc:

    $ dpkg-architecture
    DEB_BUILD_ARCH=amd64
    DEB_BUILD_ARCH_BITS=64
    DEB_BUILD_ARCH_CPU=amd64
    DEB_BUILD_ARCH_ENDIAN=little
    DEB_BUILD_ARCH_OS=linux
    DEB_BUILD_GNU_CPU=x86_64
    DEB_BUILD_GNU_SYSTEM=linux-gnu
    DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
    DEB_BUILD_MULTIARCH=x86_64-linux-gnu
    DEB_HOST_ARCH=amd64
    DEB_HOST_ARCH_BITS=64
    DEB_HOST_ARCH_CPU=amd64
    DEB_HOST_ARCH_ENDIAN=little
    DEB_HOST_ARCH_OS=linux
    DEB_HOST_GNU_CPU=x86_64
    DEB_HOST_GNU_SYSTEM=linux-gnu
    DEB_HOST_GNU_TYPE=x86_64-linux-gnu
    DEB_HOST_MULTIARCH=x86_64-linux-gnu

-- 
Eric Cooper             e c c @ c m u . e d u


More information about the wplug mailing list