delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/09/05:19:02

Date: Wed, 9 Jul 1997 12:18:40 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Kristian Krebs <kristian DOT krebs AT orebro DOT mail DOT telia DOT com>, djgpp AT delorie DOT com
Subject: Re: Help with ezgcc
In-Reply-To: <Pine.SUN.3.91.970709120037.16266W-100000@is>
Message-ID: <Pine.SUN.3.91.970709121637.16266Y-100000@is>
MIME-Version: 1.0

Sorry, I didn't realise that you might use DJGPP v1.x, not v2.  If that 
is so, you cannot say "gcc foo.c -o foo.exe", because DJGPP v1.x doesn't 
know how to create DOS .exe files directly.  You need to do this:

		gcc foo.c -o foo
		coff2exe foo

The last step will give you foo.exe that you can run from the DOS prompt.

- Raw text -


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