Sorry, I miss. follow it: 2010/4/3 Tadashi Koike <tadash...@gmail.com>: > Hi Mike, > > I'm sorry to spend a week to response your replay, and thank you > for explanation of -save-temps=obj specifications. > >> I tend to agree with Richard, that if there are multiple source inputs, it >> should be an error to use -save-temps=obj without the -c/-S option. > > I reached a true understanding, and this explanation should help > my project. >
This quotation is forgotten >> Though it might be friendlier to allow: >> >> gcc -o dir/exe a.c b.c c.c >> >> and put the temp files in: >> >> dir/a.{s,i} >> dir/b.{s,i} >> dir/c.{s,i} >> >> But it would fail for doing: >> >> gcc -o exe dir1/a.c dir2/a.c >> >> where the names overlap. Let me look at it. > Certainly this case is not god. In this case(= multiple input > files that have same filename), compiling should became failure > neither by -save-temps=cwd nor by -save-temps=obj. It is difficult ... : Best regards, Tadashi Koike