comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: GNAT 2009 and C++
Date: Fri, 2 Oct 2009 00:16:01 -0700 (PDT)
Date: 2009-10-02T00:16:01-07:00	[thread overview]
Message-ID: <c5595127-6ab3-4dfb-b228-8146f8480116@l13g2000yqb.googlegroups.com> (raw)

The GNAT GPL 2009 from the Libre site does not seem to include the g++
compiler, only gcc is provided. As a result it is not possible to link
a complete program from components written in both Ada and C++.
Well, at least this is not possible on Max OS X, where after setting
up the GNAT 2009 environment the following commands:

$ gcc --version
$ g++ --version

give different numbers (the first comes from the GNAT distribution and
overrides the standard compiler and the other one is still the
standard system version).

The distribution from macada.org contains both g++ and gcc compilers
and the above problem does not appear.

Do other GNAT 2009 users consider it to be a problem?

If yes, would it be possible to include a consistent C++ compiler in
the GNAT distribution as well?
(this is a question to AdaCore, of course ;-) )

--
Maciej Sobczak * www.msobczak.com * www.inspirel.com

Database Access Library for Ada: www.inspirel.com/soci-ada



             reply	other threads:[~2009-10-02  7:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-02  7:16 Maciej Sobczak [this message]
2009-10-02 16:30 ` GNAT 2009 and C++ Anh Vo
2009-10-02 21:15   ` Maciej Sobczak
2009-10-03  8:09   ` Dirk Heinrichs
2009-10-04 19:53   ` Gene
replies disabled

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