Subject: [Boost-bugs] [Boost C++ Libraries] #1907: name of library files on mingw
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-09 01:17:54
#1907: name of library files on mingw
---------------------------------------------------------+------------------
Reporter: Johan Boule <bohan.boost_at_[hidden]> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.35.0
Severity: Problem | Keywords:
---------------------------------------------------------+------------------
When linking with mingw, a -lxxx option leads to the following files being
searched, in order:
1) libxxx.dll.a
2) xxx.dll.a
3) libxxx.a (this should be the static lib)
4) <prefix>xxx.dll (e.g. cygxxx.dll on cygwin)
5) libxxx.dll
6) xxx.dll
However, boost's build system doesn't follow mingw's convention and
produces:
libxxx.lib (the static lib)
xxx.lib (the dynamic import lib)
xxx.dll
This means mingw will never find the files of the static lib and dynamic
import lib. Hopefully, mingw has the ability to link directly against the
dll file (providing it exists), and that's actually the one it will always
pick, as the last file looked for is xxx.dll.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1907>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC