Hi I have a C++11 compiler: [alainm@zztop boost_1_77_0]$ icpc --version icpc (ICC) 2021.3.0 20210609 Copyright (C) 1985-2021 Intel Corporation. All rights reserved. [alainm@zztop boost_1_77_0]$ I can use it to build b2: [alainm@zztop boost_1_77_0]$ icpc --version icpc (ICC) 2021.3.0 20210609 Copyright (C) 1985-2021 Intel Corporation. All rights reserved. [alainm@zztop boost_1_77_0]$ ./tools/build/src/engine/build.sh --cxx=icpc ... ### Using 'cxx' toolset. >>> Why cxx ? ... icpc (ICC) 2021.3.0 20210609 Copyright (C) 1985-2021 Intel Corporation. All rights reserved. .....
icpc -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filesys.cpp filent.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam_strings.cpp jam.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 pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp startup.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 -o b2 cp b2 bjam [alainm@zztop boost_1_77_0]$
But bootstrap.sh fails to see it: alainm@zztop boost_1_77_0]$ ./bootstrap.sh --with-toolset=intel-linux Building B2 engine.. A C++11 capable compiler is required for building the B2 engine. Toolset 'intel-linux' does not appear to support C++11. ... ** Note, the C++11 capable compiler is _only_ required for building the B2 ** engine. The B2 build system allows for using any C++ level and any other ** supported language and resource in your projects. ... You can specify the toolset as the argument, i.e.: ./build.sh [options] gcc Toolsets supported by this script are: acc, clang, como, gcc, intel-darwin, intel-linux, kcc, kylix, mipspro, pathscale, pgi, qcc, sun, sunpro, tru64cxx, vacpp ## And then a lot of comment regarding build.sh which we did not called ourselve so not very usefull Failed to build B2 build engine [alainm@zztop boost_1_77_0]$ Any idea of what went wrong ? Thanks ---- Alain Miniussi DSI, Pôles Calcul et Genie Log. Observatoire de la Côte d'Azur Tél. : +33492003009 (Mont-Gros) +33483618544 (Sophia Antipolis) +33609650665