Mail Archives: djgpp/2000/04/17/09:59:50

Date: Mon, 17 Apr 2000 16:15:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: KIRBY Mike <Mike DOT Kirby AT nats DOT co DOT uk>
cc: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: Ref DJGPP281 compilation
In-Reply-To: <0DC50E3C683ED211934C0008C7245BEC02EFFA0A@XNLATES01>
Message-ID: <Pine.SUN.3.91.1000417161307.17688B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 17 Apr 2000, KIRBY Mike wrote:

> Ref DJGPP281  compilation
> 	however gpp does not appear to be recognised 
> 	however using gxx appears to compile a simple C++ file correctly
> (filename.cpp)
> Have I misunderstood
> 	gcc is for compiling c programs
> 	and
> 	gpp is for compiling c++ programs
> I cannot see any gpp.exe file in the installation?

gpp was not present in the port of GCC 2.8.1, its name was gxx back 
then.  This changed in later versions of GCC (2.95 and later).

So you can use gxx instead.

> Is gxx purely for linking ??

Yes, the difference between gxx and gcc is only when linking is 
considered.  Otherwise, they are identical.

- Raw text -

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