Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-01-12 15:49:04

On Friday 12 January 2007 22:24, Brian Neal wrote:
> I have to try and get boost to build for Green Hills Integrity, a
> proprietary real-time operating system. They have their own C++
> compiler that I think is built on top of the EDG front end, and the
> Integrity OS has POSIX API's. I have already compiled several of our
> simple sources that use header only boost libraries without too many
> problems after creating my own boost/config/user.hpp file.
> So now I want to build all or at least most of the boost libraries. I
> am familiar with scons and make, but not bjam. :-( Where and how
> should I start? The compiler and linker are windows executables that
> cross compile for a PowerPC target. In scons, you just change out the
> toolset. Is their a mechanism like that for bjam?

Yep. You can copy tools/build/v2/tools/borland.jam to say
tools/build/v2/tools/ghs.jam and adjust it to suit your needs. You'd need to
change the name of compiler, the default command line options,
and go though the list of flags to adjust them for your compiler.

> Or is bjam not the
> only alternative? Green Hills also has a GUI based builer that you can
> drag files into and press buttons to get builds. But I would assume
> using bjam would probably be the safest thing to use.

Generally, bjam is safer. You'll have the right compiler options and
when future version of Boost is released, you won't need to update your
GUI project files again.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at