MinGW and libs name
Posted: Sat May 16, 2009 4:58 pm
Hi Eran
I'm using MinGW and boost. When I compile (for example) boost::program_options with bjam, using :
The result is libboost_program_options-mgw34-mt.lib
If I add this lib in project settings (ie : libboost_program_options-mgw34-mt), I see that CodeLite generate the following makefile :
which is not correct for MinGW. I would like :
with the lib prefix.
Actually, I always rename boost generated libs from .lib to .a, so that CodeLite makefile generation can link with my boost libs. What is your point of view about this ? What about a request (and maybe a patch, if I have some time to spend...) ?
I'm using MinGW and boost. When I compile (for example) boost::program_options with bjam, using :
Code: Select all
bjam --toolset=gcc --with-program_options release stage
If I add this lib in project settings (ie : libboost_program_options-mgw34-mt), I see that CodeLite generate the following makefile :
Code: Select all
Libs :=$(LibrarySwitch)boost_program_options-mgw34-mt
Code: Select all
Libs :=$(LibrarySwitch)libboost_program_options-mgw34-mt
Actually, I always rename boost generated libs from .lib to .a, so that CodeLite makefile generation can link with my boost libs. What is your point of view about this ? What about a request (and maybe a patch, if I have some time to spend...) ?