Changes between Version 3 and Version 4 of boost


Ignore:
Timestamp:
12/18/2023 01:51:24 PM (10 months ago)
Author:
pierre
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • boost

    v3 v4  
    11= boost =
    22
    3 The boost developers really loathe people who want to use DESTDIR, their ticket 1811 is still open :[https://svn.boost.org/trac/boost/ticket/1811]
     3To use a DESTDIR method just change the `--prefix` option in the install command:
     4{{{
     5    ./b2 --prefix=$DESTDIR/usr install threading=multi link=shared
     6}}}
     7(where $DESTDIR is set to /some/path/to/directory)
    48
    5 Fortunately, the last addition there works:
    6 {{{
    7     ./bootstrap.sh --prefix=$PREFIX ...
    8     ./b2 --prefix=$DESTDIR$PREFIX install
    9 }}}
    10 (obviously, expand $PREFIX to /usr and $DESTDIR to /some/path/to/directory)
     9If you wish to get verbose output from '''./b2''', add `-d+2` to the invocation. Doing that, you can see that only g++ is used, and that the default compile flags are -O3. If you wish to append any other CXXFLAGS, add `cxxflags="-fwhatever"` to the first '''./b2''' invocation (the second invocation for install only copies the files).
    1110
    12 If you wish to get verbose output from bjam, add '-d+2' to the invocation. Doing that, you can see that only g++ is used, and that the default compile flags are -O3. If you wish to append any other CXXFLAGS, add cxxflags="-fwhatever" to the first bjam invocation (the second invocation for install only copies the files).
    13 
    14 For the little it is worth, the output of bootsrap.sh is in bootstrap.log - it uses gcc without any CFLAGS, but optimizing that seems a waste of time.
    15 
    16 [wiki:GeneralLibraries Up][[br]]
    17 [wiki:BlfsNotes Top]
     11[wiki:GeneralLibraries Up]