delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/31/01:00:22

Date: Thu, 31 Oct 1996 07:37:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: kagel AT dg1 DOT bloomberg DOT com
Cc: arthurs AT gpu11 DOT gpu DOT nec DOT com DOT tw, djgpp AT delorie DOT com
Subject: Re: C++ won't work!
In-Reply-To: <9610302304.AA04565@quasar.bloomberg.com >
Message-Id: <Pine.SUN.3.91.961031073507.22915C-100000@is>
Mime-Version: 1.0

On Wed, 30 Oct 1996 kagel AT quasar DOT bloomberg DOT com wrote:

> gxx test.cpp -lalleg
>
> BTW you should normally add a "-o test.exe" to either of these so that you do 
> not have to manually convert the COFF format a.out file.

The above command line produces both a.out *and* a.exe, so only renaming 
it to test.exe (or whatever) will suffice.

I second the advice, though: use the explicit "-o prog.exe" switch.

- Raw text -


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