Subject: Re: [Boost-build] find-include adds /usr/include even if compiler does not use that path
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-03-20 11:17:24
On 03/20/2012 07:57 AM, Jeremiah Willcock wrote:
> 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?
Do you mean find-include-path from ac.jam?
ac.jam has a number of issues. I think
it's best avoided for now.
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