
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 ;
-w - suppresses warning messages
What all of them?
If it is all of them it should be: flags acc CFLAGS <warnings>off : -w ;
And to the link line:
-b - to tell the linker to generate a shared library instead of an executable. I'm assuming that aCC-Link-action is only used for generating shared library?
No it's used to link everything except library archives.
Again we need to make this conditional on us actually building a shared lib, Rene, Dave, how does one do that?
flags acc LINKFLAGS <target-types>$(SHARED_TYPES) : -b ; -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq