From: David Abrahams (dave_at_[hidden])
Date: 2003-07-17 09:16:13
The following message is a courtesy copy of an article
that has been posted to gmane.comp.python.c++ as well.
"Marcelo A. Camelo" <camelo_at_[hidden]> writes:
> Hummm... a bit more of information.
> I can compile boost without problems using the intel-linux
> toolset. The problem is that I need to compile it using STL
> (intel's compaining standard library is not 100% conformant
> and does not implement some features we need in another part
> of our code base).
> All I need is a clean way to pass to icc the path to the icl
> header files. I could not figure it out by my self.
> I've tried to learn from "intel-win32-stlport-tools.jam" but
> it didn't help much. I've also tried to add the include
> directory to STDHDRS var in intel-linux-tools.jam and through
> bjam command line. No success there also.
> I know this must be a basic feature of bjam, but I could not
> learn how to do it.
Try making a toolset like this one:
extends-toolset intel-linux ;
STDHDRS = path/to/stlport/headers $(STDHDRS) ;
# I think you need this too
LIBPATH += path/to/stlport/lib ;
FINDLIBS += stlport-<your version> ;
That should get you most of the way there.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
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