comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: GCC conflict on Ubuntu for mixed Ada/C++ project
Date: Tue, 18 May 2010 07:36:34 -0700 (PDT)
Date: 2010-05-18T07:36:34-07:00	[thread overview]
Message-ID: <f91d938e-a704-4089-a72b-ea180a524701@y12g2000vbg.googlegroups.com> (raw)
In-Reply-To: e4dcfe33-b4a5-41dd-9934-5f072ad4a231@c7g2000vbc.googlegroups.com

So, if I understand correctly, your problem boils down to: how do I
tell Ubuntu's gnat-gps to call gprbuild instead of gnatmake?

IIRC, this is triggered by your project file containing the Languages
attribute:

for Languages use ("Ada", "CPP"); -- or something similar

The presence of this attribute instructs GPS to call gprbuild instead
of gnatmake. I think there is also a check box somewhere in the
Project Editor of GPS to make a project multi-language. Sorry that I
cannot be more specific; I'm completely free of C++ and use Emacs for
everything :)

If this works, you can uninstall GNAT GPL Edition and have a
completely clean install.

If this still fails, you can still use GNAT GPL Edition but the
problem is setting the $PATH in GPS so that it will call the gprbuild
and, in turn, the gcc from GNAT GPL Edition instead of the system-
provided ones.

--
Ludovic Brenta.



  reply	other threads:[~2010-05-18 14:36 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17  3:29 GCC conflict on Ubuntu for mixed Ada/C++ project zeta_no
2010-05-18  7:53 ` Stephen Leake
2010-05-18 13:40   ` zeta_no
2010-05-18 14:39     ` Ludovic Brenta
2010-05-19  9:12       ` Stephen Leake
2010-05-19  9:28         ` Ludovic Brenta
2010-05-19  9:09     ` Stephen Leake
2010-05-18 12:56 ` Ludovic Brenta
2010-05-18 14:12   ` zeta_no
2010-05-18 14:36     ` Ludovic Brenta [this message]
2010-05-19  9:16     ` Stephen Leake
2010-05-19  9:22       ` Ludovic Brenta
2010-05-20 10:39         ` Stephen Leake
2010-05-20 12:10           ` Ludovic Brenta
2010-05-24 17:04             ` zeta_no
2010-05-24 21:42               ` zeta_no
2010-05-24 22:45                 ` Improving the first contact with Ada (was: GCC conflict on Ubuntu for mixed Ada/C++ project) Ludovic Brenta
2010-06-13 17:26                   ` zeta_no
2010-06-13 19:25                     ` Improving the first contact with Ada Ludovic Brenta
2010-06-13 19:54                       ` Yannick Duchêne (Hibou57)
2010-06-13 20:35                       ` zeta_no
2010-06-13 21:22                         ` Ludovic Brenta
2010-06-13 22:35                           ` Yannick Duchêne (Hibou57)
2010-06-14  8:03                             ` Ludovic Brenta
2010-06-14  8:47                               ` Nasser M. Abbasi
2010-06-14  9:24                                 ` Dmitry A. Kazakov
2010-06-14  9:33                                 ` Ludovic Brenta
2010-06-15  6:48                                   ` Stephen Leake
2010-06-14 10:39                                 ` Georg Bauhaus
2010-06-14 12:19                                   ` Dmitry A. Kazakov
2010-06-14 13:06                                     ` Georg Bauhaus
2010-06-14 14:29                                       ` Dmitry A. Kazakov
2010-06-14 15:59                                         ` Georg Bauhaus
2010-06-14 16:44                                           ` Dmitry A. Kazakov
2010-06-14 20:34                                   ` Warren
2010-06-14  9:10                             ` Dmitry A. Kazakov
2010-06-29  2:51                         ` Randy Brukardt
2010-06-14  8:35                     ` Georg Bauhaus
2010-07-06 20:15                       ` jonathan
2010-07-06 12:29                     ` Improving the first contact with Ada (was: GCC conflict on Ubuntu for mixed Ada/C++ project) Nicholas Collin Paul de Gloucester
2010-07-06 12:57                       ` Ludovic Brenta
2010-07-06 13:36                         ` Improving the first contact with Ada Georg Bauhaus
2010-05-25  2:26                 ` GCC conflict on Ubuntu for mixed Ada/C++ project Stephen Leake
2010-06-13 20:10                   ` zeta_no
2010-06-14 20:55                     ` Warren
2010-06-15 13:45                       ` zeta_no
2010-06-15 15:15                         ` Georg Bauhaus
2010-06-15 17:05                         ` Niklas Holsti
2010-05-25  2:15               ` Stephen Leake
2010-05-18 22:38 ` Ludovic Brenta
replies disabled

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