From: khizmax Date: Thu, 5 Feb 2015 11:39:17 +0000 (+0300) Subject: Changed MinGW build script sample for TDM-GCC 4.9 X-Git-Tag: v2.1.0~305^2~71 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=602bf1a7c657dd85ac73c822369e6269381485ca;p=libcds.git Changed MinGW build script sample for TDM-GCC 4.9 --- diff --git a/build/sample/build-mingw-amd64.bat b/build/sample/build-mingw-amd64.bat index 62f393cd..8b11b20e 100644 --- a/build/sample/build-mingw-amd64.bat +++ b/build/sample/build-mingw-amd64.bat @@ -1,14 +1,14 @@ -:: This sample demonstrates how to build libcds in MinGW (clearly, with TDM-GCC). +:: This sample demonstrates how to build libcds in MinGW (http://tdm-gcc.tdragon.net/). :: Run TDM-GCC console, change dir to libcds build directory and run this batch file :: :: BOOST_PATH - environment variable that contains full path to boost root directory -:: for example: set BOOST_PATH=d:\libs\boost_1_49_0 +:: for example: set BOOST_PATH=d:\libs\boost_1_56_0 :: -set BOOST_PATH=d:/Language/Lib/C/boost/boost_1_49_0 +set BOOST_PATH=c:/works/libs/boost/boost_1_56_0 :: We use -DBOOST_THREAD_USE_LIB flag since static libboost_thread is used -build.sh -b 64 -x 'g++' -z '-std=c++0x -Wall -pedantic -DBOOST_THREAD_USE_LIB -D_WIN32_WINNT=0x0500' -l "-L%BOOST_PATH%/stage-mingw64/lib" --with-boost "%BOOST_PATH%" --with-make mingw32-make 2>&1 | tee build-mingw-amd64.log +build.sh -b 64 -x 'g++' -z '-std=c++0x -Wall -Wextra -pedantic -Wno-unused-local-typedefs -DBOOST_THREAD_USE_LIB -D_WIN32_WINNT=0x0500' -l "-L%BOOST_PATH%/stage-mingw64/lib" --with-boost "%BOOST_PATH%" --with-make mingw32-make 2>&1 | tee build-mingw-amd64.log