My first bug report :-) $ protoize subdir/test.c protoize: compiling `subdir/test.c' protoize: subdir/subdir/test.c: can't get status: No such file or directory protoize: warning: missing SYSCALLS file `/usr/local/lib/gcc-lib/i686-pc-linux- gnu/3.2.3/SYSCALLS.c.X' $
I think following modification is better : in gcc-3.2.3/gcc/protoize.c 1478c1478 < fi_p = find_file (abspath (invocation_filename, filename), 0); --- > fi_p = find_file (abspath (getpwd(), filename), 0); 1548c1548 < def_dec_p->file = find_file (abspath (invocation_filename, filename), is_syscalls); --- > def_dec_p->file = find_file (abspath (getpwd(), filename), is_syscalls); Thank you. ---- Tetsuya Takatsuru NTT COMWARE Japan -- Summary: a protoize bug (directory string is duplicated.) Product: gcc Version: 3.2.3 Status: UNCONFIRMED Severity: minor Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: takatsuru dot tetsuya at nttcom dot co dot jp CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19287