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

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



In <[🔎] 20090908085536.GB3841@jwilk.net>, Jakub Wilk wrote:
>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.

Even then it shouldn't matter unless you are cross-compiling a cross-compiler.  
Normally a compiler will output executables for its "host" [the system it was 
built for; the system it is running on] but if it needs to output executables 
for a different system, you can specify the "target" [the system it's output 
is built for].
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: