Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-19 12:33:32


Markus Schöpflin <markus.schoepflin_at_[hidden]> writes:

> Hi!
>
> Currently, creating dynamic libs on AIX requires a python script.
> Because I don't have python installed on my machine, currently the
> thread library regression tests are failing.
>
> Now I'm wondering myself why this script is needed at all.

It's not, after all; what it does is pretty simple and can be done by
Boost.Build directly.

> The compiler can generate shared libraries on its own with the -G
> command line flag. It doesn't need any import or export files for
> this and no other helper scripts.

Uhm, not so fast. If you want to build anything like python modules,
which are shared libraries that link back to symbols in the
executable, you WILL need to follow the procedure executed by the
script.

> I have to admit I don't really understand the issues involved with
> dynamic linking on AIX

They're non-trivial, for sure.

> but I have modified my copy of boost.build to just use the
> appropriate compiler flags and now the regression tests for the
> thread library pass because the dynamic thread library can be built
> sucessfully.
>
> The changes are quite small, is there any interest on this?

Sure. We could try it with your changes, but I bet it would break
Boost.Python. Any chance I can convince you to install Python and try
building the Boost.Python tests? If they work, I'll be happy to
accept your patch.

-- 
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