Date: Tue, 13 Feb 1996 11:59:47 +0200 (IST) From: Eli Zaretskii To: Martynas Kunigelis Cc: djgpp Subject: Re: malloc library On Tue, 13 Feb 1996, Martynas Kunigelis wrote: > and now something more: I think very few people need both coff and exe files > after linking. For myself, I modified stubify.exe to *always* remove the coff > file and changed the specs file for stubify not being invoked if -noexe option > is specified. This makes gcc -o test test.c produce test.exe and no test. I > find that more comfortable. Why reinvent the wheel? In v2.0, just saying ``gcc -o test.exe test.c'' will leave you with a .exe file and nothing else. (The lib/specs file tells gcc to do it.) The reason to still have ``-o test'' produce both `test.exe' *and* `test' is for those Unix-born Makefiles which expect a file named `test' to be produced, and won't work correctly if it ain't. But in those cases, your solution won't work either.