On 5/30/07, Bobby Ward <bobbyrward@gmail.com> wrote:
Fortunately/Unfortunately you have to specify the library as
-lboost_regex-mgw41-1_34
or whatever variation due to boost's ABI compatibility requirements.
Right, but the direction to use -L is still valid. You have to do both things:
D:\Temp>g++ -Wall -O3 -ID:\C++\Boost\Current -o boostbuildtest.exe boostbuildtest.cpp -Lc:\boost_current\lib -lboost_regex-mgw41-1_34 -lboost_filesystem
-mgw41-1_34
Kenneth