Boost logo

Boost-Build :

Subject: Re: [Boost-build] boost-build with msvc90 on Cygwin problems
From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2009-06-16 20:05:50

Hi, Thanks for your reply. > > 2. Link statically. link=static runtime-link=static will > probably work. > Unfortunately this is the only option for me, because the resulting executable will be executed on production machines maintained by sysads who do not like to install stuff on their production machines. So I tried to compile with link=static and runtime-link=static, but still it does not run. Below the output of the linker. It looks okay to me, but maybe I overlooked something easy (hopefully). As I understood from Google, in libboost_regex-vc90-mt-s-1_38.lib lib stands for static linking and the -s- for runtime static linking. What am I doing wrong? Thank you, Andrej $ bjam release -d2 ...patience... ...patience... ...found 1353 targets... ...updating 1 target... file bin\msvc-9.0\release\link-static\runtime-link-static\cap2ping.exe.rsp "bin/msvc-9.0/release/link-static/runtime-link-static/main.obj" "libboost_regex-vc90-mt-s-1_38.lib" "libboost_serialization-vc90-mt-s-1_38.lib" "libboost_date_time-vc90-mt-s-1_38.lib" bin/msvc-9.0/release/link-static/runtime-link-static/cap2ping.exe cmd.exe /S /C call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 ">nul" "&&" link /NOLOGO /INCREMENTAL:NO /subsystem:console /out:"bin\msvc-9.0\release\link-static\runtime-link-static\cap2ping.exe" /LIBPATH:"C:\cygwin\usr\local\lib" @"bin\msvc-9.0\release\link-static\runtime-link-static\cap2ping.exe.rsp" msvc.manifest bin/msvc-9.0/release/link-static/runtime-link-static/cap2ping.exe if test -e "bin/msvc-9.0/release/link-static/runtime-link-static/cap2ping.exe.manifest"; then cmd.exe /S /C call "c:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 ">nul" "&&" mt -nologo -manifest "bin\msvc-9.0\release\link-static\runtime-link-static\cap2ping.exe.manifest" "-outputresource:bin\msvc-9.0\release\link-static\runtime-link-static\cap2ping.exe;1" fi ...updated 1 target...

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at