Skip to content
yhamigaki edited this page Sep 14, 2010 · 3 revisions
  1. Prepare Boost and bjam.
  1. with cygwin and mingw64 gcc, add to user-config.jam this:
    
    using gcc : 4.5.0 : amd64-w64-mingw32-g++ : <flavor>mingw <cxxflags>-Wno-long-long <linkflags>-Wl,--enable-auto-import,--enable-stdcall-fixup <archiver>amd64-w64-mingw32-ar ;
    using gcc : 4.5.0 : g++ : <flavor>cygwin <cxxflags>-Wno-long-long <linkflags>-Wl,--enable-auto-import,--enable-stdcall-fixup ; 
    
  1. build with :
    
     BOOST_ROOT={BOOSTDIR}  bjam test toolset=gcc-4.5.0 debug gcc/toolset-gcc:flavor=mingw/address-model=32,64 gcc/toolset-gcc:flavor=cygwin -j3 
    

    Notes for Cygwin:
    {BOOSTDIR} must be mixed format. (ex. C:/WINNT)
    And set the environment variable BOOST_BUILD_PATH with UNIX format. (ex. /cygdrive/c/winnt)
    Normally, it points to {BOOSTDIR}/tools/build/v2.

If you need more information, ask to @yhamigaki.

Clone this wiki locally