Boost logo

Boost-Build :

From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2008-01-23 18:03:14


Hi,
  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:

//user-config.jam
          using intel : : : <linkflags>-i_dynamic <linkflags>-shared-intel

I even tried using linkflags in the exe module as shown below:

exe server : Server.cpp .
           :
              ...

             <linkflags>-shared-intel
             <linkflags>-i_dynamic
          ;

I know this should be trivial to do and I have read the bjam documentation
twice. I will greatly appreaciate any help on the matter.

Thanks
sandeep



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