From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-02-22 13:32:09
Edd Dawson wrote:
> I hope someone can put me out of my misery :)
> I'm building the boost trunk with MinGW using:
> bjam toolset=gcc variant=release threading=multi link=static --builddir=p:\boost
> --libdir=p:\boost --includedir=p:\boost install
> The libraries that are build have a .lib extension, rather than .a.
> Is this intentional?
> It means I cannot link boost libraries in to my programs in
> the normal way (e.g. -Lpath/to/libs -lboost_thread-mgw42-mt-sd-1_35) as the full
> library paths cannot be resolved by the linker.
Can you clarify? It is believed that the search rules for mingw are as
below, and therefore .lib files should be found.
# windows (mingw,cygwin) -Bstatic -lxxx
# windows (mingw,cygwin) -Bdynamic -lxxx
# cygxxx.dll (*)
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