From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-01-24 15:52:21
On Thursday 24 January 2008 02:03:14 Sandeep Gupta wrote:
> How to specify compile and link options in bjam. Specifically I want to
> set "-i_dynamic" and "-shared" options during compile and link time. I
> wasn't able to find any direct answers.
> I did create user-config.jam with these lines without any success:
> using intel : : : <linkflags>-i_dynamic <linkflags>-shared-intel
this almost should work, applying those flags to all linker invocation. But
using intel : : : <linkflags>"-i_dynamic -shared-intel" ;
If this does not work, in Boost.Build M12, can you explain how exactly it does not work?
> I even tried using linkflags in the exe module as shown below:
> exe server : Server.cpp .
This should also work.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk