Boost logo

Boost-Build :

Subject: Re: [Boost-build] dll depends on executable with several exported symbols
From: Anatoly Shirokov (shirokov_a_at_[hidden])
Date: 2009-05-05 02:55:15


It is not problem. The exe rule produces import library normally if a
executable has symbols marked as dllexport. Here are all products:

app.exe
app.exe.rsp
app.exp
app.lib
app.obj
app.obj.rsp
app.pdb

May you know how to change this lib rule

Vladimir Prus wrote:
> On Monday 04 May 2009 15:46:18 Anatoly Shirokov wrote:
>> I have the following situation:
>> - executable exports several functions
>> - dll uses the exported functions, so the dll depens on the executable
>>
>> Jamroot:
>> use-project /app : app ;
>> use-project /dll : dll ;
>>
>> app/Jamfile:
>> project : : ;
>> exe app : ... ;
>>
>> dll/Jamfile:
>> project : : ;
>> lib dll : /app//app ;
>>
>> I use the following version of the boost build:
>>> bjam --version
>> Boost.Build V2 (Milestone 12)
>> Boost.Jam 03.1.17
>>
>> The problem is that the boost build does not put import library produced by
>> the exe rule to the dll.dll.rsp file. As a result linking fails.
>
> I do not think your use case is presently supported -- I don't even know
> how one can create import library for an EXE. Can you clarify?
>
> - 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