comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Ada & MacOS
Date: Thu, 02 Feb 2006 15:48:09 +0100
Date: 2006-02-02T15:48:09+01:00	[thread overview]
Message-ID: <43E21BA9.6060206@mailinator.com> (raw)
In-Reply-To: <drsoc8$1nib$1@node1.news.atman.pl>

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]



  reply	other threads:[~2006-02-02 14:48 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-02 10:53 Ada & MacOS sg
2006-02-02 14:48 ` Alex R. Mosteo [this message]
2006-02-02 17:13 ` Martin Krischik
2006-02-02 19:37   ` sg
2006-02-02 21:30     ` Björn Persson
2006-02-02 23:17       ` sg
2006-02-03  7:32         ` Jean-Pierre Rosen
2006-02-03 19:38           ` Jeffrey R. Carter
2006-02-06 10:15             ` Jean-Pierre Rosen
2006-02-03 16:27         ` Martin Krischik
2006-02-03 19:43           ` Jeffrey R. Carter
2006-02-04  7:04             ` Martin Krischik
2006-02-04 14:32               ` Georg Bauhaus
2006-02-06  8:20           ` Maciej Sobczak
2006-02-06 18:48             ` Jeffrey R. Carter
2006-02-06 20:44               ` Hyman Rosen
2006-02-07  9:10               ` Maciej Sobczak
2006-02-07 16:16                 ` Martin Krischik
2006-02-08  4:51                 ` Jeffrey R. Carter
2006-02-08  7:35                   ` Alex R. Mosteo
2006-02-09 14:52                   ` Maciej Sobczak
2006-02-06 19:25             ` Martin Krischik
2006-02-06 20:34               ` Hyman Rosen
2006-02-07 16:13                 ` Martin Krischik
2006-02-03 23:55         ` Simon Williams
2006-02-04 16:22 ` Adrian Hoe
2006-02-04 16:25 ` Adrian Hoe
replies disabled

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