Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cygwin DLLs not named properly and installed in the right location
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-05-30 07:54:04


On Monday 20 April 2009 19:28:05 Ronald Landheer-Cieslak wrote:
> I'm trying to use Boost Build v2 on a software package that will run on
> Cygwin, MinGW and other platforms. On Cygwin, DLLs are installed in the bin
> directory and import libraries are installed in lib, and DLLs are prefixed
> with "cyg" and have a ".dll" extention.Boost.Buildv2 currently sees Cygwin
> as a UNIX platform, generates .so files and does not add the cyg prefix.
> Also the .so files are installed in lib, not bin (which is good for UNIX
> platforms).
> The attached patch fixes the absence of the cyg prefix and has the build
> system generate import libraries, but does not place the DLLs in the bin
> directory, which I can't seem to figure out how to do. If some-one could
> help me with that, that would be great.

This patch, as posted, introduces two copies of gcc.link.dll for toolset=gcc,
thereby resulting on ambiguity on non-cygwin os. I have checked in the below
refinement:

        https://svn.boost.org/trac/boost/changeset/53446

Let me know if this works for you. I shall now look into getting DLLs into
'bin' dir on cygwin.

- Volodya


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