Using 'gcc' toolset.Ĭ:\Program Files\boost_1_73_0\tools\build\src\engine>g++ -x c++ -std=c++11 -s -O3 -o b2.exe -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd All rights reserved.Ĭ:\Windows\system32>cd C:\Program Files\boost_1_73_0\tools\buildĬ:\Program Files\boost_1_73_0\tools\build>bootstrap.bat gccīuilding the B2 engine.
MINGW TUTORIAL WINDOWS 8.1
I have followed all of your suggested proceedures both as user and admin but come up with the following.Īm on windows 8.1 boost v 1_73_0 g++6.3.0 (MinGW GCC)
The system cannot find the file specified. I am using gcc 9.2.0 and boost_1_72_0 library Using 'gcc' toolset.Ĭ:\Program Files\boost_1_72_0\tools\build\src\engine>g++ -x c++ -std=c++11 -s -O3 -o b2.exe -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp filent.cpp filesys.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam.cpp jambase.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp regexp.cpp rules.cpp scan.cpp search.cpp strings.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cppĬ:\Program Files\boost_1_72_0\tools\build\src\engine>dir *.exeĭirectory of C:\Program Files\boost_1_72_0\tools\build\src\engineĬ:\Program Files\boost_1_72_0\tools\build\src\engine>copy /b. To the mingw section of bootstrap.bat and use "bootstrap.bat mingw". If you want to define BOOST_JAM_TOOLSET_ROOT to specify a bin subfolder containing the gcc you want to use, then add the missing line If gcc is in your PATH, just use "bootstrap.bat gcc", The problem is that the batch needs to set "BOOST_JAM_TOOLSET=gcc" to call the jam0 command with -toolset=gcc since toolset=mingw is not supported. This is a convenient thing to do if you want to specify which gcc to use, or if you don't want gcc in your system PATH. It is the same as for "gcc" except at the beginning it adds %BOOST_JAM_TOOLSET_ROOT%bin to the front of PATH if the variable is defined. Set "BOOST_JAM_OPT_YYACC=-o bootstrap\yyacc0.exe" Set "BOOST_JAM_OPT_MKJAMBASE=-o bootstrap\mkjambase0.exe" Set "BOOST_JAM_OPT_JAM=-o bootstrap\jam0.exe" Set "PATH=%BOOST_JAM_TOOLSET_ROOT%bin %PATH%" If NOT "_%BOOST_JAM_TOOLSET%_" = "_mingw_" goto Skip_MINGW The mingw section of tools\build\src\engine\config_toolset.bat for Boost 1.66.0 looks like I looked into the mingw argument for bootstrap.bat. C:\Program Files\boost\include\boost-1_59.