|
Boost : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-01-05 08:17:47
Sean Perry from IBM explained me a better way to build the shared
libraries (instead of using Python). Only minor modifications are needed
to make it work. In short it comes down to:
1) removing the '.imp' from SUFDLL in allyourbase.jam
2) removeing the 'Aix-Implib-action'
3) adding the '-G' flag to the "xlC-Link-action"
The main thing is that now we need to make a distinction between linking
a shared library and an executable (the 'xlC-Link-action' is used for
both though) because the '-G' flag is needed for shared libraries but
not for executables. So I could define a new action e.g.
'xlC-Link-so-action' that could be used for linking .so's or I could add
a variable which is equal to '-G' or empty and which can be used on the
link-line. Which of these solutions would be preferable and is it OK to
commit these changes ?
toon
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk