|
Boost-Build : |
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-02-09 09:31:01
When building from the bash in an cygwin environment
the toolset name is expanded to gcc-mingw no matter
which compiler is beeing called.
Rene are you listening?
My setup:
user-config.jam:
# GNU configuration
using gcc
: 3.4.2_mingw
: "C:/Programme/mingw-3.4.2/bin/g++.exe"
;
using gcc
: 3.4.5_mingw
: "C:/Programme/mingw-3.4.5/bin/g++.exe"
;
using gcc
: 3.4.4_cygwin
: "C:/Cygwin/bin/g++.exe"
;
The invocation command:
(From within bash in boost root)
$ bjam -d+2 toolset=gcc-3.4.4_cygwin --with-thread stage
The results:
An example cmd invocation:
"C:/Cygwin/bin/g++.exe" -ftemplate-depth-128 -O3 -finline-functions
-Wno-inline -Wall -mthreads -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_LIB=1
-DNDEBUG -I"." -c -o
"bin.v2\libs\thread\build\gcc-mingw-3.4.4_cygwin\release\link-static\runtime-link-static\threading-multi\xtime.o"
"libs\thread\src\xtime.cpp"
E.g. a dll in stage dir named boost_thread-mgw34-mt-1_34.dll
I checked the dependecy with dependency walker and it
erreonously shows CYGWIN1.DLL in its deps.
Roland
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk