Mail Archives: djgpp/1996/02/23/06:13:37
On Fri, 23 Feb 1996 j DOT aldrich6 AT genie DOT com wrote:
> > use. If you invoke gcc like this:
> >
> > gcc -o myprog myprog.o ....
> >
> > it will create *both* `myprog' and `myprog.exe', as opposed to this:
> >
> > gcc -o myprog.exe myprog.o ....
> >
> > which will leave you with only `myprog.exe'.
>
> But what if I don't want it to make the .exe file? I have a large program for
> which I would rather have the coff format file than the executable, and I hate
> having to delete it each time I run make. How do you tell gcc to suppress
> creating the .exe?
What in the world do you need the COFF file *alone* for?
Anyway, if that's what you need, you can edit your lib/specs file. That
is where gcc is told what files to produce given certain switches. You
need to tell it to not invoke stubyfy.exe.
- Raw text -