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

Re: How to detect 32 or 64 bit at build time?



* Mike Hommey <mh@glandium.org>, 2009-09-08, 08:47:
Note it's always a pain that dpkg-architecture and autoconf use the same
word for an opposite meaning.

autoconf     dpkg-architecture
host         DEB_BUILD_
target       DEB_HOST_

Wrong, they don't.

autoconf-"build" == DEB_BUILD_* (the machine the package is built *on*).

autoconf-"host" == DEB_HOST_* (the machine the package is built *for*).

autoconf-"target" should be irrelevant as long as you don't (cross-)compile compilers.


Sources:
* dpkg-architecture(1);
* /usr/share/doc/autoconf-doc/autoconf.html, "14.1 Specifying target triplets".

--
Jakub Wilk


Reply to: