
David Abrahams wrote:
Rene Rivera <grafik.list@redshift-software.com> 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