www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/23/06:13:37

Date: Fri, 23 Feb 1996 13:06:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: j DOT aldrich6 AT genie DOT com
Cc: djgpp AT delorie DOT com
Subject: Re: Using GNU make (AHHHHHHH!)
In-Reply-To: <199602230223.AA222662211@relay1.geis.com>
Message-Id: <Pine.SUN.3.91.960223130410.2693G-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019