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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3ad7a8611c2e60ae X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!r24g2000yqd.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GUI with Ada? Date: Sat, 19 Dec 2009 02:01:13 -0800 (PST) Organization: http://groups.google.com Message-ID: <7c69aa05-3afd-4113-a428-c33482645741@r24g2000yqd.googlegroups.com> References: <2RRWm.115219$gg6.92260@newsfe25.iad> NNTP-Posting-Host: 94.108.171.129 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1261216873 29841 127.0.0.1 (19 Dec 2009 10:01:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 19 Dec 2009 10:01:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r24g2000yqd.googlegroups.com; posting-host=94.108.171.129; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091123 Iceweasel/3.5.5 (like Firefox/3.5.5; Debian-3.5.5-1),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8445 Date: 2009-12-19T02:01:13-08:00 List-Id: Nasser M. Abbasi wrote on comp.lang.ada: > Hello; > > I have not kept up with Ada for sometime. I was wondering, if someone wan= ts > to develop a simple GUI (plots, menus, buttons, graphs, etc..) using Ada, > and have the code compile to a .exe on windows and linux, which is the > current most popular software pieces needed for the GUI? > > Assuming I will be using GNAT. Which gcc version should I be using these > days which has the latest Ada support in it? Should I be using gcc direct= ly > for Ada programming these days, or use GNAT GPL 2009 version from Libre w= eb > sitehttp://libre.adacore.com/libre/? > > I know there are few choices for the GUI, and just wanted to check what i= s > the "best" choice do you think for that. =A0One with a GUI builder would = be > nice (i.e. where one can pick the components and lay them out to design t= he > interface). This will be an school program, nothing commercial. I wanted = to > try to write some basic finite element code in Ada, but need a GUI part f= or > the simulation part. Shameless_Plug: begin Besides the respective merits of GTK+, Qt and their Ada bindings, you may find that ease of installation and deployment are also of importance. By that metric, I suggest you take a look at Debian GNU/ Linux 5.0 "Lenny", the stable distribution. It ships GCC 4.3 and GtkAda 2.8.1 as packages, i.e. precompiled and preconfigured for immediate use, along with a host of other Ada libraries. Beware though: you may get spoiled with the ease of use and never want to go back to Windows :) The installation is as easy as: aptitude install libgtkada2-dev which will also pull the correct version of GCC and any other packages necessary. If you feel adventurous, you may want to try the testing distribution; it has GtkAda 2.12.0. I am planning to upload GtkAda 2.14.2 to unstable in the next couple of weeks; it should reach testing by the end of January. end Shameless_Plug; -- Ludovic Brenta.