delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/16/05:18:39

Date: Sun, 16 Aug 1998 12:18:25 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Sprogface <fyfe AT sol DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: HELP!!!!!!!
In-Reply-To: <199808150830.JAA11849@gnasher.sol.co.uk>
Message-ID: <Pine.SUN.3.91.980816121444.6981h-100000@is>
MIME-Version: 1.0

On Sat, 15 Aug 1998, Sprogface wrote:

> CMDLINE=gxx -o c:\mything.cpp

You are invoking the compiler in a way that it overwrites the source with 
the program it produces.  It's a small wonder that you get all kinds of 
weird messages.

The correct way to do this is like this:

	gxx -o c:\mything.exe c:\mything.cpp

In other words, the -o switch needs a file name after it which says where 
to put the compiled program.

Please read the file v2/readme.1st that's available from the same placve 
you got DJGPP.  It explains how to invoke the compiler correctly.

- Raw text -


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