comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: gnat-3_10p1-nt and C++ ?
Date: 1998/01/01
Date: 1998-01-01T00:00:00+00:00	[thread overview]
Message-ID: <dewar.883661439@merv> (raw)
In-Reply-To: 68dlab$sci$1@faatcrl.faa.gov


Phil Brereton wrote in message <34a9aa01.38963143@news.u-net.com>...
>I have just installed gnat and found out that it can compile C, I've
>been told that to compile C++ I need cc1plus.exe and the C++ library.
>How do I install these correctly? Any advice will be gratefully
>received.
>Best wishes for the New Year,
>Phil


Just so the picture is clear, GNAT cannot compile C, it is an Ada 95
compiler! However, it is part of the GCC system, which is a multi-language
compiler. The standard distribution of GCC made with GNAT includes the
C compiler, but does not include the C++ compiler, which must be separately
obtained. The easiest thing is to obtain g++ separately and install it as
a completely separate program, but if you know what you are doing, you can
merge the two distribtions together to form a single unified gcc that
can compile C, Ada 95 and C++ (as well as Chill, Fortran 77 etc etc if
you install these as well).





  parent reply	other threads:[~1998-01-01  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-31  0:00 gnat-3_10p1-nt and C++ ? Phil Brereton
1997-12-31  0:00 ` R. Karl Werner
1998-01-01  0:00   ` Jerry van Dijk
1998-01-01  0:00   ` Robert Dewar [this message]
1998-01-02  0:00     ` Phil Brereton
1998-01-03  0:00       ` Jerry van Dijk
1998-01-03  0:00         ` Phil Brereton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox