comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Ada file depends on C file
Date: Thu, 17 Sep 2009 07:49:46 -0700 (PDT)
Date: 2009-09-17T07:49:46-07:00	[thread overview]
Message-ID: <64e357f1-367d-4791-9307-49e8cc678c18@p36g2000vbn.googlegroups.com> (raw)
In-Reply-To: 0d986b0b-ec32-4dec-980e-471d210aa6d4@o13g2000vbl.googlegroups.com

mockturtle wrote on comp.lang.ada:
> On Sep 17, 3:07 pm, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
>> I normally use a Makefile to compile in such situations but there are
>> two alternatives: gprmake and its successor, gprbuild. In GPS, you can
>> specify that your project is multi-language; this will cause it to
>> call the proper tool (instead of gnatmake, which is for Ada-only
>
> I did.  If I open with an editor the .gpr file created by GPS I find
> the line
>
>    for Languages use ("Ada", "C");

From memory, this is necessary but not sufficient; you also have to
tick a check box somewhere to tell GPS that your project file is multi-
language. This is confusing, I know, and I learned the hard way :)

--
Ludovic Brenta.





  reply	other threads:[~2009-09-17 14:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17 12:38 Ada file depends on C file mockturtle
2009-09-17 13:07 ` Ludovic Brenta
2009-09-17 13:32   ` mockturtle
2009-09-17 14:49     ` Ludovic Brenta [this message]
2009-09-17 16:17       ` Dmitry A. Kazakov
2009-09-17 17:35         ` mockturtle
2009-09-17 13:29 ` Dmitry A. Kazakov
replies disabled

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