Index: Jamfile.v2 --- Jamfile.v2.orig 2007-05-11 05:40:34 +0200 +++ Jamfile.v2 2007-06-17 12:43:12 +0200 @@ -112,12 +112,12 @@ default-build = debug release single multi - shared static + static ; if [ os.name ] = NT { - default-build += shared static ; + default-build += static ; } } else Workaround for "bjam crashes when compiled with gcc 4.2" http://svn.boost.org/trac/boost/ticket/977 Index: tools/jam/src/build.sh --- tools/jam/src/build.sh.orig 2006-02-03 17:57:42 +0100 +++ tools/jam/src/build.sh 2007-06-17 13:54:31 +0200 @@ -127,7 +127,7 @@ ;; gcc) - BOOST_JAM_CC=gcc + BOOST_JAM_CC="gcc -O0" ;; darwin) Index: tools/jam/src/build.jam --- tools/jam/src/build.jam.orig 2007-06-17 14:07:34 +0200 +++ tools/jam/src/build.jam 2007-06-17 14:08:21 +0200 @@ -153,7 +153,7 @@ ## GCC 2.x, 3.x, 4.x toolset gcc gcc : "-o " : -D : -pedantic - [ opt --release : [ opt --symbols : -g : -s ] -O3 ] + [ opt --release : [ opt --symbols : -g : -s ] -O0 ] [ opt --debug : -g -O0 -fno-inline ] -I$(--python-include) -Wno-long-long : -L$(--python-lib[1]) -l$(--python-lib[2]) ;