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

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



On Tue, 08 Sep 2009 00:05:55 -0400, Felipe Sateler wrote:
> Sven Joachim wrote:
> 
> > On 2009-09-07 12:54 +0200, Sven Joachim wrote:
> > 
> >> How about DEB_HOST_ARCH_BITS?  This needs dpkg 1.15.4, though.
> > 
> > Sorry, that should have been DEB_BUILD_ARCH_BITS.
> 
> As Neil would have pointed out if he were still subscribed to -mentors, 
> DEB_BUILD_* is almost always the wrong choice, otherwise it will cross-build 
> incorrectly.
> 
> -- 
> Felipe Sateler
> 

Is there any documentation about this ?
Why is it a wrong choice when you want to create a package from sources for a 
specific architecture ?

Regards,
Laurent

-- 
Laurent Guignard, Registered as user #301590 with the Linux Counter
Site : http://www.famille-guignard.org
Blog : http://blog.famille-guignard.org
Projet : http://sicontact.sourceforge.net
GULL de Villefranche sur Saône : http://www.cagull.org

Attachment: signature.asc
Description: Digital signature


Reply to: