comp.lang.ada
 help / color / mirror / Atom feed
From: zeta_no <olivier_henley@hotmail.com>
Subject: Re: GCC conflict on Ubuntu for mixed Ada/C++ project
Date: Tue, 18 May 2010 07:12:39 -0700 (PDT)
Date: 2010-05-18T07:12:39-07:00	[thread overview]
Message-ID: <e4dcfe33-b4a5-41dd-9934-5f072ad4a231@c7g2000vbc.googlegroups.com> (raw)
In-Reply-To: ef348e7c-492b-4ed7-a87d-250da6afa67b@o12g2000vba.googlegroups.com

On May 18, 8:56 am, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:

> I think that all your problems are because of this ugly setup of
> yours. While I think it must be possible to use GPS with several
> different versions of GNAT, I'm not going to investigate the details
> of why you fail; rather, out of curiosity, I'd like to know why you
> think you must mix the GNAT GPL Edition with the Ubuntu packages, i.e.
> what problem are you trying to solve that neither GNAT GPL Edition nor
> Ubuntu can solve alone?

No, I don't think I must mix the GNAT GPL Edition and the Ubuntu
packages, I did it because it has been the only successful combination
capable of building the excepts.gpr project, an Ada_CPP project.

When you install GNAT, GPS and GPRbuild from Ubuntu, it looks to me
that when you load the except.gpr project, GPS by default, tries to
build with gnatmake, not GPRbuild. The GNAT/GPS version from Adacore
does build this project out of the box with GPRbuild.  But now, GPS,
when it calls GCC, seems to use the system wide default GCC, in my
case, the 4.4 version installed by Ubuntu.  My problem is therefore
twofold.  First, I cannot strip my Ubuntu box from GCC 4.4 because
synaptic wants to uninstall many important things such as proprietary
video drivers. Second, I would like to use the GCC retrieved from
Adacore, but I just did not figured out how to tell GPS to use that
precise version. You have to realize that I am completely new to GPS
and Ada in general and therefore might fail to configure basic stuff.

To build and run a Ada_CPP project is of great importance to me
because as a participant to an engineering competition, I try to
convince my teammates that the use of Ada for the real time
programming issues would greatly help our cause.  On the team we have
hardcore CPP fans and we will be using libraries such as OpenCV (C and
CPP version).  Yesterday, I had to make a presentation to the team
showing the possibility of interfacing both language as a bare minimum
to carry on with the idea of using Ada on our project.

So here are all my motivations for making this project build with or
without an ugly setup.  To go further, I'll accept nothing else than a
clean install :)

Thanks for your time and concern,

Olivier



  reply	other threads:[~2010-05-18 14:12 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 [this message]
2010-05-18 14:36     ` Ludovic Brenta
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