From: kagel AT quasar DOT bloomberg DOT com Date: Mon, 11 Nov 1996 11:00:17 -0500 Message-Id: <9611111600.AA01856@quasar.bloomberg.com > To: eliz AT is DOT elta DOT co DOT il Cc: deadgame AT erinet DOT com, djgpp AT delorie DOT com In-Reply-To: (message from Eli Zaretskii on Mon, 11 Nov 1996 08:30:14 +0200 (IST)) Subject: Re: djgpp erases my source file? Reply-To: kagel AT dg1 DOT bloomberg DOT com Errors-To: postmaster AT bloomberg DOT com Date: Mon, 11 Nov 1996 08:30:14 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Length: 579 On Sun, 10 Nov 1996 deadgame AT erinet DOT com wrote: > the snippets archive to experiment with. but I still have yet to > successfully compile a program. Did you read the file `readme.1st'? It is in the djgpp ftp site, in the v2 directory. It explains how to call gcc to compile programs, and gives some simple examples that should help you get started. > I also do not get a second chance > because my source file is strangely gone after I get my error message. Please post an example of a command line that you used with DJGPP which caused some of the sources to be gone. I'd suspect it was something like: gcc -o fred.c Since many DOS "C" compilers use -o with no arguments for optimization. Deadgame should note that GCC uses -O (note upper case) for optimization and "-o name" for designating the name of the executable. -- Art S. Kagel, kagel AT quasar DOT bloomberg DOT com A proverb is no proverb to you 'till life has illustrated it. -- John Keats