Mail Archives: djgpp/1996/11/11/11:26:30
Errors-To: postmaster AT bloomberg DOT com
Date: Mon, 11 Nov 1996 08:30:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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
- Raw text -