Boost logo

Boost-Build :

From: Sandeep Gupta (gupta.sandeep_at_[hidden])
Date: 2008-01-25 04:35:05


Vladimir,
 Well because I can see the actual command bjam uses via the "-n" flag and
they are the same as without the <linkflags> option. Moreover the warning
message doesn't go away which it should if "-i_dynamic" is used .

Thanks
Sandeep

boost-build.lists.boost.org

On Jan 24, 2008 12:52 PM, Vladimir Prus <ghost_at_[hidden]> wrote:

> On Thursday 24 January 2008 02:03:14 Sandeep Gupta wrote:
> > 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
>
> Well, per
>
>
> http://boost.org/boost-build2/doc/html/bbv2/reference/tools.html#bbv2.reference.tools.compiler.intel
>
> this almost should work, applying those flags to all linker invocation.
> But
> you'd need
>
> 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 .
> > :
> > ...
> >
> > <linkflags>-shared-intel
> > <linkflags>-i_dynamic
> > ;
>
> This should also work.
>
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>



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