[Xapian-devel] Building Xapian on Mac OSX 10.6.x
James Aylett
james-xapian at tartarus.org
Sat Mar 26 14:20:04 GMT 2011
On 26 Mar 2011, at 05:36, Ira Ray Jenkins wrote:
> I have a project that requires Xapian for a 32 bit arch, but Mac
> defaults to 64 bit. How can I configure Xapian core and Xapian python
> bindings to build 32 bit?
You can select a particular architecture by setting a variable on your configure line:
$ ./configure CXX="g++ -m32"
will build 32 bit. You can check the architecture created by running file(1) on the resultant library (although this is tucked away due to our use of libtool), or of course on the installed library once completed.
This has now been documented in xapian-core's INSTALL file. Note that if building bindings as well, you'll need to do the same thing there; the architectures must match.
J
--
James Aylett
talktorex.co.uk - xapian.org - devfort.com - spacelog.org
More information about the Xapian-devel
mailing list