Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-05-29 18:07:42


David Abrahams wrote:

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

It works ;-) But the reason I posted it that way is because it's easier
to understand for non-jam knowing people than trying to describe how to
change the link action.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk