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: 103376,c664b94ca589f80f X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!out04b.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!cycny01.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny09.POSTED!c9e1c1fe!not-for-mail From: Jeffrey Creem User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Free Ada83 compiler for older Solaris/SPARC or IRIX? References: <47BC8252.84C89825@baigar.de> <47C50951.507A6E68@baigar.de> In-Reply-To: <47C50951.507A6E68@baigar.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 27 Feb 2008 12:15:00 GMT NNTP-Posting-Host: 71.181.42.14 X-Complaints-To: abuse@verizon.net X-Trace: trndny09 1204114500 71.181.42.14 (Wed, 27 Feb 2008 07:15:00 EST) NNTP-Posting-Date: Wed, 27 Feb 2008 07:15:00 EST Xref: g2news1.google.com comp.lang.ada:20123 Date: 2008-02-27T12:15:00+00:00 List-Id: Erik Baigar wrote: > "Jeffrey R. Carter" wrote: >> No compiler supports plot/draw; that's not part of the language. You need a >> graphics library for that. > > I have not looked into the different possibilities in detail > now, but what would be the easiest way if I only want to get > a window and draw lines within this window? I.e. the only > thing I need is a command like "draw.line(x1, y1, x2, y2);"? > > X11ada? , Motif/X-Binding?, AdaGTK? > > Thanks and best regards, > > Erik. GtkAda. x11ada is very low level and means you will be spending a lot of time dealing with expose events. Motif is a higher level toolkit and not a terrible choice. GtkAda binds to a somewhat more modern library and 'works' under windows as well. Under Linux/Solaris/unix like machines where it is supported it is very good. The downside will be that for older Solaris and probably for IRIX you will almost certainly have to compile your own Gtk libraries (not just the Ada part -- the libraries themselves). While this can be done (At least for Solaris) and is not too hard if you know what you are doing, it can be a big deal. If you are lucky, you will be able to find pre-compiled libraries for a Gtk version compatible with GtkAda. If you have the money, getting GtkAda from AdaCore means you will also get the pre-compiled Gtk libraries. If you have more time than money, I suspect you can pull this all together yourself.