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
|
|
|
439 | 439 | } |
440 | 440 | } |
441 | 441 | |
442 | | generators.register [ new gcc-linking-generator gcc.link : LIB OBJ : EXE |
443 | | : <toolset>gcc ] ; |
444 | | |
445 | 442 | .IMPLIB-COMMAND = ; |
446 | | .IMPLIB-TYPE = ; |
447 | 443 | if [ os.on-windows ] |
448 | 444 | { |
449 | 445 | .IMPLIB-COMMAND = "-Wl,--out-implib," ; |
450 | | .IMPLIB-TYPE = IMPORT_LIB ; |
| 446 | generators.register |
| 447 | [ new gcc-linking-generator gcc.link |
| 448 | : OBJ SEARCHED_LIB STATIC_LIB IMPORT_LIB |
| 449 | : EXE |
| 450 | : <toolset>gcc ] ; |
| 451 | generators.register |
| 452 | [ new gcc-linking-generator gcc.link.dll |
| 453 | : OBJ SEARCHED_LIB STATIC_LIB IMPORT_LIB |
| 454 | : IMPORT_LIB SHARED_LIB |
| 455 | : <toolset>gcc ] ; |
| 456 | } |
| 457 | else |
| 458 | { |
| 459 | generators.register |
| 460 | [ new gcc-linking-generator gcc.link |
| 461 | : LIB OBJ |
| 462 | : EXE |
| 463 | : <toolset>gcc ] ; |
| 464 | generators.register |
| 465 | [ new gcc-linking-generator gcc.link.dll |
| 466 | : LIB OBJ |
| 467 | : SHARED_LIB |
| 468 | : <toolset>gcc ] ; |
451 | 469 | } |
452 | 470 | |
453 | | generators.register |
454 | | [ new gcc-linking-generator gcc.link.dll : LIB OBJ : $(.IMPLIB-TYPE) SHARED_LIB |
455 | | : <toolset>gcc ] ; |
456 | | |
457 | 471 | # Declare flags for linking |
458 | 472 | # First, the common flags |
459 | 473 | flags gcc.link OPTIONS <debug-symbols>on : -g ; |