[C++-sig] Re: Compiling boost.python using intel and stlport on linux

David Abrahams dave at boost-consulting.com
Thu Jul 17 16:16:13 CEST 2003

"Marcelo A. Camelo" <camelo at esss.com.br> 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:
    # intel-linux-stlport-tools.jam

    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

More information about the Cplusplus-sig mailing list