boost
boost copied to clipboard
Cygwin build: b2 not working
These are my commands; b2
exist but doesn't do anything.
Same thing happens when I checkout tag 1.81.0
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ git pull
Already up to date.
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ git submodule update --init --recursive
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ git status -vv
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ git clean -fdx
Removing b2.exe
Removing project-config.jam
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ git reset --hard
HEAD is now at 27c16dbb69 Update multiprecision from master
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ git clean -fdx
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ ./bootstrap.sh
Building B2 engine..
###
###
### Using 'gcc' toolset.
###
###
g++ (GCC) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
###
###
> g++ -x c++ -std=c++11 -D_GNU_SOURCE -O2 -s -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
tools/build/src/engine/b2
Detecting Python version... 3.9
Detecting Python root... /usr
Unicode/ICU support for Boost.Regex?... /usr
Generating B2 configuration in project-config.jam for gcc...
Bootstrapping is done. To build, run:
./b2
To generate header files, run:
./b2 headers
The configuration generated uses gcc to build by default. If that is
unintended either use the --with-toolset option or adjust configuration, by
editing 'project-config.jam'.
Further information:
- Command line help:
./b2 --help
- Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html
- B2 documentation:
http://www.boost.org/build/
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ ./b2 --help
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ ls -la b2
-rwxrwxr-x+ 1 u114758 Domain Users 240128 Mar 26 09:21 b2
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ where b2
C:\work\misc\boost\boost-repo\boost\b2.exe
user /cygdrive/c/work/misc/boost/boost-repo/boost
$ du -h b2
236K b2
user /cygdrive/c/work/misc/boost/boost-repo/boost
$