Index: tools/build/v2/tools/gcc.jam =================================================================== RCS file: /cvsroot/boost/boost/tools/build/v2/tools/gcc.jam,v retrieving revision 1.63.2.23 diff -u -r1.63.2.23 gcc.jam --- tools/build/v2/tools/gcc.jam 7 Jun 2007 18:22:29 -0000 1.63.2.23 +++ tools/build/v2/tools/gcc.jam 11 Jun 2007 06:24:50 -0000 @@ -439,21 +439,35 @@ } } -generators.register [ new gcc-linking-generator gcc.link : LIB OBJ : EXE - : gcc ] ; - .IMPLIB-COMMAND = ; -.IMPLIB-TYPE = ; if [ os.on-windows ] { .IMPLIB-COMMAND = "-Wl,--out-implib," ; - .IMPLIB-TYPE = IMPORT_LIB ; + generators.register + [ new gcc-linking-generator gcc.link + : OBJ SEARCHED_LIB STATIC_LIB IMPORT_LIB + : EXE + : gcc ] ; + generators.register + [ new gcc-linking-generator gcc.link.dll + : OBJ SEARCHED_LIB STATIC_LIB IMPORT_LIB + : IMPORT_LIB SHARED_LIB + : gcc ] ; +} +else +{ + generators.register + [ new gcc-linking-generator gcc.link + : LIB OBJ + : EXE + : gcc ] ; + generators.register + [ new gcc-linking-generator gcc.link.dll + : LIB OBJ + : SHARED_LIB + : gcc ] ; } -generators.register - [ new gcc-linking-generator gcc.link.dll : LIB OBJ : $(.IMPLIB-TYPE) SHARED_LIB - : gcc ] ; - # Declare flags for linking # First, the common flags flags gcc.link OPTIONS on : -g ;