Re: How to detect 32 or 64 bit at build time?
On Mon, Sep 07, 2009 at 10:50:54AM +0000, Bart Martens wrote:
> I guess that you're looking for:
>
> dpkg --print-architecture
No. The result is equivalent to
dpkg-architecture | grep -w DEB_BUILD_ARCH
I'm locking for something that responds with 0 for 32 bit architectures
and 1 for 64 bit architectures. With the suggestion above I would have
to implement a case statement for all existing architectures and would
have to keep this up to date.
Kind regards
Andreas.
--
http://fam-tille.de
Klarmachen zum Ändern!
Reply to: