Boost logo

Boost Users :

Subject: Re: [Boost-users] building boost with a specific msvc runtime
From: Tom K. (lists_at_[hidden])
Date: 2013-02-28 21:48:06


> cxxflags ought to work. You can use -d2 to find out
> the compiler options that Boost.Build is using.

I'm calling with the following command line:

bjam --toolset=msvc-8.0 --link=static --runtime-link=shared
--with-thread --cxxflags="/FI\"C:/boost
_1_44_0/sxs_header.h\"" -d2

Where I put the extraneous header in the dir listed, and I see the
below for each file. Attaching full log.

file bin.v2\libs\thread\build\msvc-8.0\debug\link-static\threading-multi\win32\thread.obj.rsp
"libs\thread\src\win32\thread.cpp"
 -Fo"bin.v2\libs\thread\build\msvc-8.0\debug\link-static\threading-multi\win32\thread.obj"
    -TP
 /Z7
 /Od
 /Ob0
 /W3
 /GR
 /MDd
 /Zc:forScope
 /Zc:wchar_t
 /wd4675
 /EHs
 -c

-DBOOST_ALL_NO_LIB=1

-DBOOST_THREAD_BUILD_LIB=1

"-I."

compile-c-c++ bin.v2\libs\thread\build\msvc-8.0\debug\link-static\threading-multi\win32\thread.obj

    call "C:\Program Files (x86)\Microsoft Visual Studio
8\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\thread\build\msvc-8.0\debug\link-static\threading-multi\win32\thread.obj.rsp"

thread.cpp




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net