acl-devel
[Top][All Lists]
Advanced

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

[Acl-devel] Cross-compiling attr 64->32bit


From: Jason D. Clinton
Subject: [Acl-devel] Cross-compiling attr 64->32bit
Date: Tue, 20 Apr 2010 10:54:05 -0500

Hello;

I am cross-compiling a 32-bit stack for a development project and attr is at the very top of the dependency tree due to udev's requirement of it. However, something about the attr autofoo configuration prevents compiling for alternative bit targets. However, I'm a little lost as to what the cause is. Normally, "CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-L/opt/ia32-mesa/lib" ./configure --prefix=/opt/ia32" would be enough for just about any autofoo software. However, something about the way that libtool is being used by attr is dropping CFLAGS.

Does anyone have any hints as to what the cause of the below might be?

attr-2.4.44$ CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-L/opt/ia32-mesa/lib" ./configure --prefix=/opt/ia32-mesa
attr-2.4.44$ make
attr-2.4.44$ file ./libattr/.libs/libattr.so.1.1.0 
./libattr/.libs/libattr.so.1.1.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped


reply via email to

[Prev in Thread] Current Thread [Next in Thread]