Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
diana:windows:building:boost [2010-01-18 11:10:21]
dages
diana:windows:building:boost [2022-05-31 09:29:31] (current)
Line 7: Line 7:
 Get the source tarball from http://downloads.sourceforge.net/project/boost/boost-jam/3.1.17/boost-jam-3.1.17.tgz; once you have it, it's a simple matter of running the build script (which will automatically detect MinGW) and installing the resulting executable: Get the source tarball from http://downloads.sourceforge.net/project/boost/boost-jam/3.1.17/boost-jam-3.1.17.tgz; once you have it, it's a simple matter of running the build script (which will automatically detect MinGW) and installing the resulting executable:
  
-  $ tar zxf boost-jam-3.1.17.tgz 
-  $ cd boost-jam-3.1.17 
   $ sh ./build.sh   $ sh ./build.sh
   $ cp bin.ntx86/bjam.exe /mingw/bin   $ cp bin.ntx86/bjam.exe /mingw/bin
Line 23: Line 21:
 ===== Main libraries ===== ===== Main libraries =====
  
-Download the main Boost libraries from http://downloads.sourceforge.net/project/boost/boost/1.40.0/boost_1_40_0.tar.gz and extract them somewhere convenient+Download the main Boost libraries from http://downloads.sourceforge.net/project/boost/boost and extract them somewhere convenient.
- +
-  $ tar zxvf boost/boost_1_40_0.tar.gz+
  
 Let's see what we've got: Let's see what we've got:
Line 57: Line 53:
  
   $ bjam toolset=gcc variant=release link=shared threading=multi \   $ bjam toolset=gcc variant=release link=shared threading=multi \
-       --prefix=/opt/boost --build-dir=obj --layout=tagged \+       --prefix=/c/met.no --build-dir=obj --layout=tagged \
        --without-graph --without-graph_parallel --without-mpi \        --without-graph --without-graph_parallel --without-mpi \
-       --without-python --without-regex --without-serialization \+       --without-python --without-serialization \
        stage        stage
  
Line 65: Line 61:
  
   $ bjam toolset=gcc variant=release link=shared threading=multi \   $ bjam toolset=gcc variant=release link=shared threading=multi \
-       --prefix=/opt/boost --build-dir=obj --layout=tagged \+       --prefix=/c/met.no --build-dir=obj --layout=tagged \
        --without-graph --without-graph_parallel --without-mpi \        --without-graph --without-graph_parallel --without-mpi \
-       --without-python --without-regex --without-serialization \+       --without-python --without-serialization \
        install        install
 +  $ cp LICENSE_1_0.txt /c/met.no/copyright/boost.txt
  
 +**XXX** can't get static linking to work
  • diana/windows/building/boost.1263813021.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)