delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/05/07:38:48

Date: Sun, 5 May 1996 14:22:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jeffrey Taylor <elric AT wheel DOT dcn DOT davis DOT ca DOT us>
Cc: djgpp AT delorie DOT com
Subject: Re: Help with V2 needed
In-Reply-To: <4mdd7p$20g@mark.ucdavis.edu>
Message-Id: <Pine.SUN.3.91.960505141641.11941O@is>
Mime-Version: 1.0

On 3 May 1996, Jeffrey Taylor wrote:

> : 	gcc -v -o hello.exe hello.c
> 
> Try:
> 	gcc -v hello.c -o hello
> 
> gcc normally outputs COFF format, which stubify adds executable stub to 
> that loads a COFF executable to.

Please guys and gals, before you post your reply, take a moment to test 
it and be sure that you don't post incorrect info, especially when the 
question is from an obvious new user of DJGPP.

The above reply is INCORRECT!  In DJGPP v2.0, when you say

	gcc -o prog prog.c

gcc generates *both* `prog' and `prog.exe'; `prog' is a COFF file and
`prog.exe' is a DOS executable.  If you tell "-o prog.exe", only .exe is
generated.  (This is different from v1.x, where producing .exe was always
a separate step.)

- Raw text -


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