|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-09-01 18:28:05
On Saturday 01 September 2007 18:08:23 Roland Schwarz wrote:
> On mingw (PE Format) ld searches for:
>
> -Bstatic -lxxx :
> libxxx.a
> xxx.lib
>
> -Bdynamic -lxxx :
> libxxx.dll.a
> xxx.dll.a
> libxxx.a
> xxx.lib
> libxxx.dll
> xxx.dll
> libxxx.a
>
> Now the problem becomes understandable:
> Since bb's default naming of libraries on windows is:
>
> Static lib: libxxx.a
> Shared lib: xxx.dll and xxx.a for the import lib.
Thanks for the analysis! I'm somewhat surprised by the weird
names that are being looked up -- I'd never expect that!
> The (proposed) solution:
> ========================
>
> 1) Change naming on windows to
> Static libs: libxxx.lib
> DLL's : xxx.dll
> Import libs: xxx.lib
> This naming is also more in line with the other windows
> compilers.
This seems OK, for mingw. Note that for cygwin, we have a bug
report about wrong naming:
http://svn.boost.org/trac/boost/ticket/1058
Do you have an idea what we currently produce on cygwin, and what
we should produce?
Thanks,
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