This looks like missing files in your Cygwin installation. Try running the setup again and make sure everything is installed for the gcc compiler (Cygwin, not MinGW64). I successfully ran bootstrap.sh, bjam was compiled fine with the default Cygwin gcc compiler. After that, I hit a few speed bumps, but everything compiled fine with MinGW64. I added the compiler executable in tools\build\v2\user-config.jam like this:
using gcc : 4.5.3 : x86_64-w64-mingw32-gcc.exe ;
I ended up with the following command lines:
./b2 --toolset=gcc target-os=windows --build-dir=/cygdrive/c/whatever/boost_build variant=debug,release link=static runtime-link=static architecture=x86 address-model=64 threadapi=win32 --layout=tagged --without-mpi --stagedir=lib/win64gcc -j4 stage
... and then I tried the same with link=shared runtime-link=shared
, but I had a lot of compilation errors I have not yet figured out.
Some links that may help you:
- Cross compilation
- Cross-compiling boost
- Name Conflict when Building Boost libraries with Cygwin/GCC
- Can't link against Boost.Thread 1.46.1 with MinGW 4.5.2
EDIT: I ended up using MinGW64 TDM which is MUCH easier than Cygwin MinGW64 as it's not a cross-compiler. Simply install MinGW64 TDM, add MSYS, done! Boost compiles without any problem.