Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-09-21 00:29:46


John Femiani wrote:

> How does one invoke bjam on the version of boost in SVN-Trunk so that
> mingw-g++ libraries use '.a' as a suffix instead of '.lib' ?
>
> When I use the mingw g++ compiler on Windows I expect it to produce
> libraries ending with '.a' since that is what the compiler typically
> looks for when linking with something like:
>
> -lboost_filesystem-mt-d
>
> Granted I could just put the whole library name
>
> -llibboost_filesystem_mt-d.lib
>
> but is there a way to make bjam produce .a as a suffix instead?
> Shouldn't this be the default behavior if I am using a gcc based
> toolset?

This was extensively discussed. The .lib suffix makes it possible
to take library produced by mingw, and link it into msvc projects.
Further, it was found that .lib suffix works just fine.
Your email does not report any practical problems you run into --
what are they?

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net