Why there is no 'input file error' when using -Wl,-wrap ? $ gcc -shared -o champion.so gcc: no input files $ gcc -shared -o champion.so -Wl,-wrap -Wl,toto $ ld -shared -o champion.so -wrap toto ld: no input files
-- Summary: Option -Wl,-wrap when no input file Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: minor Priority: P2 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bitmap at pan dot homelinux dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: Reading specs from /usr/lib/gcc/i486-linux/3.4.4/specs Configur GCC host triplet: Linux GCC target triplet: gcc (GCC) 3.4.4 20050314 (prerelease) (Debian 3.4.3-12) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21055