Opened 6 years ago
Last modified 6 years ago
#12365 new Bugs
fail to build under mingw
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.61.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hi there. I cannot install boost under mingw. Accordingly to documentation i should start with bootstrap.bat without arguments in tools\build\ but it fails to run with reason: "'cl' is not recognized as an internal or external command"
(of course it is not recognized, i don't have visual studio at all!)
While i'm trying to run .\bootstrap.bat mingw i've got 'Unknown toolset: mingw'
Please, create rigth documentation to build it under mingw so that user should'n try different propositions like from http://stackoverflow.com/questions/38103244/building-boost-1-61-0-with-mingw-5-3-0 which doesn't work
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Experiencing similar issue in Windows 7: jam does not support mingw while its supported inside build.bat:
Guessed toolset: gcc ### ### Using 'mingw' toolset. ###
C:\Boost_dl\boost_1_63_0\boost_1_63_0\tools\build\src\engine>if exist bootstrap rd /S /Q bootstrap
C:\Boost_dl\boost_1_63_0\boost_1_63_0\tools\build\src\engine>md bootstrap
C:\Boost_dl\boost_1_63_0\boost_1_63_0\tools\build\src\engine>gcc -DNT -o bootstrap\jam0.exe command.c compile.c constants.c debug.c execcmd.c execnt.c filent.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathnt.c pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c class.c cwd.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c
C:\Boost_dl\boost_1_63_0\boost_1_63_0\tools\build\src\engine>.\bootstrap\jam0 -f build.jam --toolset=mingw "--toolset-root=C:\MinGW\ " clean ### ### Unknown toolset: mingw ### ### Known toolsets are: acc, borland, cc, como, clang, darwin, gcc, gcc-nocygwin, intel-darwin, intel-linux, intel-win32, kcc, kylix, metrowerks, mipspro, msvc, qcc, pathscale, pgi, sun, sunpro, tru64cxx, vacpp, xlcpp, vc7, vc8, vc9, vc10, vc11, vc12, vc14, vc15, vmsdecc ###
C:\Boost_dl\boost_1_63_0\boost_1_63_0\tools\build\src\engine>.\bootstrap\jam0 -f build.jam --toolset=mingw "--toolset-root=C:\MinGW\ " ### ### Unknown toolset: mingw ### ### Known toolsets are: acc, borland, cc, como, clang, darwin, gcc, gcc-nocygwin, intel-darwin, intel-linux, intel-win32, kcc, kylix, metrowerks, mipspro, msvc, qcc, pathscale, pgi, sun, sunpro, tru64cxx, vacpp, xlcpp, vc7, vc8, vc9, vc10, vc11, vc12, vc14, vc15, vmsdecc ###
C:\Boost_dl\boost_1_63_0\boost_1_63_0\tools\build\src\engine>exit /b 1
I'm having a similar issue building Boost (in my case with clang 3.8.0-win64 and mingw-w64 x86_64-5.3.0-posix-seh-rt_v4-rev0 on Windows 10). I'm still investigating, but the issues I've found so far that seem relevant here are:
which appears to resolve this issue but is probably not the optimal fix (I claim no expertise with regard to Windows batch files).