How do I compile libexpat as x86_64?

John Musbach <[email protected]> Sat, 3 Oct 2009 21:01:51 -0400
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
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