comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: gnat-3_10p1-nt and C++ ?
Date: 1998/01/03
Date: 1998-01-03T00:00:00+00:00	[thread overview]
Message-ID: <883807845.4snx@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 34acddaf.6456942@news.u-net.com


In article <34acddaf.6456942@news.u-net.com> elwood@osc.u-net.com writes:

>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!

If you installed the compiler according to the instructions on my
homepage this should work, as I used this installation to compile some
c++ code which I wanted to use from Ada.

Of course you did not forget to link in the standard (-lstdc++) or gcc
(lg++) libraries when compiling c++ code :-) If you want to use the c++
compiler, you are supposed to know how to use it!

--

-- Jerry van Dijk | Leiden, Holland
-- Consultant     | Team Ada
-- Ordina Finance | jdijk@acm.org




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