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-03-09 13:44:55]
dages
diana:windows:building:boost [2022-05-31 09:29:31] (current)
Line 52: Line 52:
 If you do, though, you will get warnings about several components due to missing compiler features (e.g. ''wchar'' for [[http://www.boost.org/doc/libs/1_40_0/libs/serialization/doc/index.html|Boost.Serialization]]) and / or third-party components (e.g. Python for [[http://www.boost.org/doc/libs/1_40_0/libs/python/doc/index.html|Boost.Python]]). If you do, though, you will get warnings about several components due to missing compiler features (e.g. ''wchar'' for [[http://www.boost.org/doc/libs/1_40_0/libs/serialization/doc/index.html|Boost.Serialization]]) and / or third-party components (e.g. Python for [[http://www.boost.org/doc/libs/1_40_0/libs/python/doc/index.html|Boost.Python]]).
  
-  $ bjam toolset=gcc variant=release threading=multi +  $ bjam toolset=gcc variant=release link=shared threading=multi \
-       link=static runtime-link=static \+
        --prefix=/c/met.no --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 \
Line 61: Line 60:
 To install the result, run the exact same command, but with ''install'' instead of ''stage'': To install the result, run the exact same command, but with ''install'' instead of ''stage'':
  
-  $ bjam toolset=gcc variant=release threading=multi +  $ bjam toolset=gcc variant=release link=shared threading=multi \
-       link=static runtime-link=static \+
        --prefix=/c/met.no --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-serialization \        --without-python --without-serialization \
        install        install
 +  $ cp LICENSE_1_0.txt /c/met.no/copyright/boost.txt
  
-**XXX** do we need ''runtime-link=static''? +**XXX** can't get static linking to work
- +
-**XXX** it still installs DLLs.  WTF?+
  • diana/windows/building/boost.1268142295.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)