Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-12-17 13:07:38


"John Maddock" <john_at_[hidden]> writes:

>> C:\WINGNU\MinGW/bin/\g++ -g -mthreads -o
> "..\..\..\bin\boost\libs\regex\test\regex_regress_dll.test\mingw\debug\threa
> ding-multi\regex_regress_dll.exe"
>> -L"../../../bin/boost/libs/test/build/libboost_prg_exec_monitor.lib/mingw
> /debug/threading-multi"
>> -L"../../../bin/boost/libs/regex/build/boost_regex.dll/mingw/debug/thread
> ing-multi"
>> -L"C:/WINGNU/MinGW/lib"
>>
> "..\..\..\bin\boost\libs\regex\test\regex_regress_dll.test\mingw\debug\threa
> ding-multi\parse.obj"
>>
> "..\..\..\bin\boost\libs\regex\test\regex_regress_dll.test\mingw\debug\threa
> ding-multi\regress.obj"
>>
> "..\..\..\bin\boost\libs\regex\test\regex_regress_dll.test\mingw\debug\threa
> ding-multi\tests.obj"
>>
> "..\..\..\bin\boost\libs\test\build\libboost_prg_exec_monitor.lib\mingw\debu
> g\threading-multi\libboost_prg_exec_monitor.lib"
>>
> "..\..\..\bin\boost\libs\regex\build\boost_regex.dll\mingw\debug\threading-m
> ulti\boost_regex-mgw-mt-d-1_31.lib"
>>
> "..\..\..\bin\boost\libs\test\build\libboost_prg_exec_monitor.lib\mingw\debu
> g\threading-multi\libboost_prg_exec_monitor.lib"
>>
> "..\..\..\bin\boost\libs\regex\build\boost_regex.dll\mingw\debug\threading-m
> ulti\boost_regex-mgw-mt-d-1_31.lib"
>> -lboost_regex-mgw-mt-d-1_31
>
> Looking at the command line - the regex lib is listed on the command line
> twice, and I *think* this is the cause of the problems, although I'm not
> sure - can you experiment?

This duplication is intentional and AFAIK harmless. It allows
dependencies among various libraries to be properly resolved, since
dependencies must follow dependents in the gnu link line.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk