[Xapian-discuss] Xapian on AMD64

James Aylett james-xapian at tartarus.org
Tue Aug 16 15:36:22 BST 2005


On Tue, Aug 16, 2005 at 03:28:07PM +0100, Olly Betts wrote:

[Solaris 64bit build]
> Perhaps you need to pass "-m64" (or something similar) in LDFLAGS as
> well as CXXFLAGS?  CXXFLAGS is only used for compilation, not linking.
> 
> Unless you tell it, I doubt g++ will know it needs to link a different
> libstdc++, etc.

Actually, it looks like libtool gets that right automatically. The
problem seems to be that in the complete g++ link line, libtool has
added in the wrong libstdc++ and the wrong libgcc_s as well as the
right ones. Or something like that - the link line is huge, so it's
difficult to see easily.

If I have some time, I'll investigate further.

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list