From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b6a41f43bdf7d57 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-30 19:02:13 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news.moat.net!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 30 Mar 2004 21:02:12 -0600 From: Keith Brown Subject: Re: GLADE GUI builder version question Newsgroups: comp.lang.ada Reply-To: kbrown2720@NOSPAMcomcast.net Date: Tue, 30 Mar 2004 21:00:56 -0600 References: <3s-dnUFg8KKtV_XdRVn-gw@comcast.com> <87fzbqfa0k.fsf@insalien.org> User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: NNTP-Posting-Host: 24.118.154.152 X-Trace: sv3-APdEj25nA0M3OhJeDCW+f1EY6YD4T+vpcU5Ono9RdZ0KFTmr9AtNgfzL70m16cMp9uDdWZYXn4egucG!NC78UxkHgwmo4PIYT1G57znDhKZNWerT3NrlLU2gPRGQmXTGbIjbjh4vnrHklqQ= X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:6679 Date: 2004-03-30T21:00:56-06:00 List-Id: Ludovic Brenta wrote: > Keith Brown 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 ' 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