From: Keith Brown <kbrown2720@NOSPAMcomcast.net>
Subject: Re: GLADE GUI builder version question
Date: Tue, 30 Mar 2004 21:00:56 -0600
Date: 2004-03-30T21:00:56-06:00 [thread overview]
Message-ID: <ra-dnR4kpfAoqffdRVn-ug@comcast.com> (raw)
In-Reply-To: 87fzbqfa0k.fsf@insalien.org
Ludovic Brenta wrote:
> Keith Brown <kbrown2720@NOSPAMcomcast.net> writes:
>
>> All,
>>
>> I am trying to use the GLADE 2.0.0 GUI builder to build a form and
>> then generate Ada code. My problem is that the GLADE GUI does not
>> have a check box option for Ada code generation, only C and C++. My
>> question is, what version of GLADE should I be using, where can I
>> get it. I am currently running on Linux Mandrake 9.2. The Gnat
>> compiler (V3.15) and Glade-2 rpm's came with the distribution.
>
> To the best of my knowledge, Mandrake does not seem to have GNAT
> 3.15p; instead, it has GCC 3.3.1 with Ada support (this is an
> experimental version of GNAT, not to be used for anything except
> experimentation). Are you sure you are using 3.15p? In which case,
> where did you get the .rpm files?
>
> As Poul-Erik said, you can apply the GtkAda patch to glade-2, but you
> don't have to. If you can live with a command-line interface, you can
> call gate (this, in fact, works well with Makefiles). Gate generates
> the Ada code from the .glade XML file. It also comes as part of
> GtkAda.
>
> Also, if you have more specific questions, you will receive better
> help on the GtkAda mailing list; see http://libre.act-europe.fr/GtkAda
> to subscribe.
>
Ludovic,
Thank you for your response. I believe you are correct that I am running a
product called gcc-gnat 3.3.1-2mdk which is labeled "Ada 95 support for gcc".
This came on the Mandrake distro. I presume also from your response that I
should be using GNAT 3.15p instead. What are the differences?
You answered my next question in your response also 8-) ...
I found a newer Glade2-2.0.1 at http://rpmfind.net/ and installed it. I got the
error below when I tried to generate Ada code from Glade-2 after building my
GUI.
------------------------------------
Error running gate to generate the Ada95 source code.
Check that you have gate installed and that it is in your PATH.
Then try running 'gate <project_file.glade>' in a terminal.
------------------------------------
I presume I must install GtkAda first which includes the Gate code for Glade2.
Thanks for your advice. I will download these packages and try to install them.
--
Keith Brown
next prev parent reply other threads:[~2004-03-31 3:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 1:14 GLADE GUI builder version question Keith Brown
2004-03-30 9:06 ` Poul-Erik Andreasen
2004-03-30 18:46 ` Ludovic Brenta
2004-03-31 3:00 ` Keith Brown [this message]
2004-03-31 5:15 ` Ludovic Brenta
2004-03-31 15:41 ` Poul-Erik Andreasen
2004-04-14 3:06 ` Andrew Reynolds
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox