|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-05-12 16:46:45
Rene Rivera <grafik.list_at_[hidden]> writes:
> John Maddock wrote:
>
>>>I have attached the updated acc-tools.jam file located in
>>>boost_1_31_0/tools/build/v1.
>>
>>>+z - to make the compiler generate PIC (position independent code) --
>>>required for shared libraries.
>> That should be conditional on us actually building a shared library
>> - we
>> build static ones as well, not to mention executables.
>
> flags acc CFLAGS <target-types>$(SHARED_TYPES) : +z ;
If that works, great. Normally I've handled that sort of thing inside
Link-action.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk