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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,59d666bca086a225 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Ada & MacOS Date: Thu, 02 Feb 2006 15:48:09 +0100 Message-ID: <43E21BA9.6060206@mailinator.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net OHfw11eWBV0hNbdOgwS9KwBlJU36tumaHF8HjpX6CuCYBO7xo= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:2749 Date: 2006-02-02T15:48:09+01:00 List-Id: sg wrote: > Hi, > I'm going to develop a small (later it will be bigger as further modules > come up) application for small business. It is going to work under > windows, linux and macos having very similar GUI and using common > database (it will be PostgreSQL). I wanted to use > C++/wxWindows/PostgreSQL for that but I'd rather go in the Ada > direction, so I've got some questions: > > 1. Is it possible to such a program in Ada with as less work as possible > while creating GUT for another OS ? I wanted to develop it under > windows, and then try to run it under MacOS without too much work, I > want to avoid the situation when I have to create another another GUI > from the beginning. Note that I have experience only in windows/linux. So I don't know if any of this can be extended to MacOS. Possibilities for portable gui: GtkAda?, web interface embedding a server (AWS[1]) in your program. I don't know about wxWindows and Ada (though I'm interested, I don't like GtkAda that much). Creating web guis for AWS can be fun... At least I enjoyed it the only time I did it. Much more than using GtkAda. Just a personal taste. > 2. Is there any compiler for Ada under MacOS that is compatible with a > compiler for Linux and Windows. No idea, but this seems relevant: http://www.macada.org/ > 3. Does anybody have any experience with using PostgreSQL with Ada on > all of theese systems (or maybe choose another database) ? I've used the GNADE[2] binding to the PSQL client library with success. It's really straightforward to use. It works equally well in windows and in linux. > 4. How about prining with gtkAda ? No idea... [1] https://libre2.adacore.com/aws/ [2] http://gnade.sourceforge.net/ You only need four files for the PSQL binding: gnu.ads, gnu-db.ads, gnu-db-postgresql.ad[sb]