http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47480
Summary: GCC driver names a resolution file after the last argument to the linker Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: driver AssignedTo: unassig...@gcc.gnu.org ReportedBy: d.g.gorbac...@gmail.com $ echo 'int main(void){}' > main.c $ gcc -flto main.c -Wl,-s -save-temps [...] $ echo *.res main.res $ gcc -flto -c main.c $ gcc -flto main.o -Wl,-s -save-temps [...] $ echo *.res -s.res main.res It looks ugly...