From: elwood@osc.u-net.com (Phil Brereton)
Subject: Re: gnat-3_10p1-nt and C++ ?
Date: 1998/01/03
Date: 1998-01-03T00:00:00+00:00 [thread overview]
Message-ID: <34ae93e6.21261189@betanews.mcmail.com> (raw)
In-Reply-To: 883807845.4snx@jvdsys.nextjk.stuyts.nl
On Sat, 03 Jan 98 06:10:45 GMT, jerry@jvdsys.nextjk.stuyts.nl (Jerry
van Dijk) wrote:
>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!
>
Ok, I admit my ignorance - thanks to your helpful instructions I've
now got everything working. (C++ was not my main interest but reading
that it could be incorporated into Gnat, I thought it would be good to
add the capability.) Thanks again,
Phil
prev parent 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
1998-01-03 0:00 ` Phil Brereton [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox