Olly Betts
2004-May-11 17:39 UTC
[Xapian-devel] Re: [Xapian-commits] Changes in xapian/xapian-bindings/ xapian/xapian-bindings/guile/ xapian/xapian-bindings/php4/ xapian/xapian-bindings/python/ xapian/xapian-bindings/tcl8/
On Tue, May 11, 2004 at 06:11:36PM +0100, Richard Boulton wrote:> "xapian-config --cxxflags" assumes that it doesn't need to emit > -I/usr/include in this situation (presumably on the basis that > any sane C compiler will already have that on its path).Worse, passing -I/usr/include causes problems with some versions of GCC on some platforms as GCC generates "fixed" versions of vendor supplied include headers at build time. Normally these are used instead of those in /usr/include, but if you explicitly pass /usr/include you get the non-fixed versions. The most recent GCC versions ignore "-I/usr/include" in this situation. So that's why xapian-config carefully excludes -I/usr/include from --cxxflags. I'll put the above explanation as a comment in the script... Cheers, Olly
Maybe Matching Threads
- Re: [Xapian-commits] Changes in xapian/xapian-bindings/
- Guile bindings for Xapian
- xapian-bindings compile creates 34mb xapian_wrap.o file?
- Re: [Xapian-commits] Changes in xapian/xapian-applications/queryserver/ xapian/xapian-applications/queryserver/source/
- Compiling PHP Bindings