Re: determining 32 v. 64 bit compilatio

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

 



On Tuesday, June 29, 2010 16:26:08 Wesley Smith wrote:

please dont top post

> For 64bit builds, I need to #define x86_64 for a lib I'm using.  It
> has nothing to do with the size of longs from my perspective, but
> whether the binary is compiled for a 64 or 32 bit target.

is it a binary-only library ?  if it's open source, encoding the arch in the 
name is a dumb convention that only causes misery.

if you're statically linking against it, then add a configure library test.  
if you're dynamically loading it, then simply try them both.  the host ldso 
should prevent loading of non-compatible ELFs.
-mike

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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux