Date: Thu, 30 Oct 1997 20:24:10 -0800 (PST) Message-Id: <199710310424.UAA26545@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Jose Luis Perandones Colino , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: coff output question Precedence: bulk At 12:08 10/31/1997 +0100, Jose Luis Perandones Colino wrote: >How can i generate ONLY coff output invoking gcc (not ld)? I'm not entirely sure I understand your question. I *think* what you want is the un-stubified COFF image. I don't think there is a way to omit the stubifying stage, without running ld directly, since I think stubifying is hardcoded into the GCC specs file. But you can get both the unstubbed COFF and the EXE with a command like this: gcc -o myprog obj1.o obj2.o ... This will leave the unstubbed COFF in the file `myprog', and the EXE in file `myprog.exe'. You could then delete the `myprog.exe' if you really don't want it. Nate Eldredge eldredge AT ap DOT net