Skip to content

Instantly share code, notes, and snippets.

@cjmeyer
Last active December 20, 2015 20:49
Show Gist options
  • Save cjmeyer/6193338 to your computer and use it in GitHub Desktop.
Save cjmeyer/6193338 to your computer and use it in GitHub Desktop.
building boost with mingw
# boost 1.46.1, from msys
$ bootstrap.bat --with-toolset=mingw
$ mv project-config.jam project-config.jam.old
$ sed s/mingw/gcc/g project-config.jam.old > project-config.jam
$ bjam.exe --prefix=C:/boost/boost-1.46.1 -j8
$ bjam.exe install
# boost 1.54.0, from cmd.exe
> boostrap.bat mingw
> b2.exe --prefix=C:\Libs\boost toolset=gcc -j8
> b2.exe --prefix=C:\Libs\boost toolset=gcc -j8 install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment