ld should be able to accept "--output-def" and "--out-implib" according to the man page, but in fact it can only accept "-output-def" and "-out-implib"
nhxlc200 1>ld -v GNU ld version 2.14.90.0.4 20030523 nhxlc200 2>ld --out-implib ld: unrecognized option '--out-implib' ld: use the --help option for usage information nhxlc200 3>ld --output-def ld: unrecognized option '--output-def' ld: use the --help option for usage information [if using gcc] BB>gcc -v .. gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34) BB>gcc -Wl,--output-def=2 /usr/bin/ld: unrecognized option '--output-def=2' /usr/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status BB>gcc -Wl,--out-implib=2 /usr/bin/ld: unrecognized option '--out-implib=2' /usr/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status -- Summary: ld expects "-", not "--" Product: gcc Version: 3.2.3 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: miwako dot tokugawa at intel dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40300