Boost logo

Boost-Build :

Subject: [Boost-build] find-include adds /usr/include even if compiler does not use that path
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-03-20 10:57:06


For a cross-compiling build, the compiler will not necessarily use headers
from /usr/include, which means that hard-wiring it in is leading to (on my
system) attempting to use zlib.h even though that file doesn't exist in
the compiler's include path. Shouldn't the directories to search be found
by running the compiler, rather than some other mechanism?

-- Jeremiah Willcock


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk