comp.lang.ada
 help / color / mirror / Atom feed
From: elwood@osc.u-net.com (Phil Brereton)
Subject: Re: gnat-3_10p1-nt and C++ ?
Date: 1998/01/02
Date: 1998-01-02T00:00:00+00:00	[thread overview]
Message-ID: <34acddaf.6456942@news.u-net.com> (raw)
In-Reply-To: dewar.883661439@merv


dewar@merv.cs.nyu.edu (Robert Dewar) wrote:
>
>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).
>
Thanks for the clarification - I've installed the C++ compiler and
library, the compiler seems to work ok, but the linker keeps giving
"undefined reference to 'cout' " messages.  I think I'll take your
advice and try a separate program!
Phil




  reply	other threads:[~1998-01-02  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   ` Robert Dewar
1998-01-02  0:00     ` Phil Brereton [this message]
1998-01-03  0:00       ` Jerry van Dijk
1998-01-03  0:00         ` Phil Brereton
1998-01-01  0:00   ` Jerry van Dijk
replies disabled

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