From 602bf1a7c657dd85ac73c822369e6269381485ca Mon Sep 17 00:00:00 2001 From: khizmax Date: Thu, 5 Feb 2015 14:39:17 +0300 Subject: [PATCH] Changed MinGW build script sample for TDM-GCC 4.9 --- build/sample/build-mingw-amd64.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.34.1