Boost logo

Boost Testing :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2005-12-08 11:11:14


"Beman Dawes" <bdawes_at_[hidden]> wrote in message
news:dn7pt1$d09$1_at_sea.gmane.org...
> ...
> Here is the command line that fails, after I've set
> MINGW_STDLIB_DIRECTORY:
>
> "g++"
> "-Wl,--enable-auto-image-base" -g -Wl,--allow-multiple-definition -mno-cygwin
> -o
> "f:\filesystem-regr\bin\boost\libs\filesystem\test\large_file_support_test.test\mingw\debug\large_file_support_test.exe"
> -L"f:/filesystem-regr/bin/boost/libs/filesystem/build/libboost_filesystem.lib/mingw/debug" -L"c:/cygwin/lib/mingw" -L"""f:\filesystem-regr\bin\boost\libs\filesystem\test\large_file_support_test.test\mingw\debug\large_file_support_test.obj""f:\filesystem-regr\bin\boost\libs\filesystem\build\libboost_filesystem.lib\mingw\debug\libboost_filesystem-mgw-d-1_34.lib""f:\filesystem-regr\bin\boost\libs\filesystem\build\libboost_filesystem.lib\mingw\debug\libboost_filesystem-mgw-d-1_34.lib">> The only thing wrong is the -L"". If I remove that, and run by hand, thelink succeeds. Then the test also runs and passes.After some debugging, here is what I found:The problem is in gcc-tools.jam. The variable STDLIBPATH is set on line 347.An echo afterwards shows one string and its value is correct.STDLIBPATH is used on line 483. An echo of STDLIBPATH before 483 shows *two*strings, the first being the correct value, the second being null. It isthis second empty string that is causing the problem.I don't have a clue how it is
 getting there. STDLIBPATH doesn't appear to bemodified anywhere else in the jam file.Help needed!--Beman


Boost-testing list run by mbergal at meta-comm.com