
16 Dec
2008
16 Dec
'08
9:56 a.m.
John Maddock wrote:
Lorenzo Bettini wrote:
I've also tried
bjam --build-dir=./tmp --toolset=gcc stage --with-regex
but this does not create .a .so files, but only .lib files that I cannot use with mingw compiler...
Oh yes you can use them :-)
For linking to the dll's, just pass the name of the dll on the linker command line, no need for a .a file at all. For static linking you can either pass the linker the full name of the .lib file, or else rename it to a .a extension so you can use -lboost_regex to link.
Well, actually I need to use my program and the libraries with autotools... would it work the same even with .dll and .lib?