I experienced some problem linking an executable with a static library.
I'm using CodeLite revision 3681 (with the bundled MinGW 4.4.0) on Windos XP.
I created a static library, which got the file extension .lib (Not using CodeLite, but the same MinGW dist. The library was boost 1.42, and I used:
Code: Select all
bjam --toolset=gcc link=static stage
Now when i tried to link that static library, the linker said that it could not find the library. (All lib paths correct)
But when I changed the suffix from .lib to .a (libboost_unit_test_framework-mgw44-mt.a) it worked.
Any ideas?
/Kristian