[Expat-discuss] How do I compile libexpat as x86_64?

John Musbach johnmusbach1 at gmail.com
Sun Oct 4 03:01:51 CEST 2009


I've downloaded the latest sources from sourceforge (2.0.1) and have
tried configuring the build with:

./configure --build=x86_64 --host=x86_64 --libdir=/opt/local/lib
CPPFLAGS="-DXML_LARGE_SIZE -m64"

but ultimately all I get is:

bash-3.2$ file /opt/local/lib/libexpat.dylib
/opt/local/lib/libexpat.dylib: Mach-O dynamically linked shared
library i386

what gives???

-- 
Best Regards,

John Musbach


More information about the Expat-discuss mailing list