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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2b82a7b0e64b610 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-13 19:46:30 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Rod Kay Newsgroups: comp.lang.ada Subject: Re: GLADE + s-stratt.adb + GtkAda problem. Date: Fri, 14 Nov 2003 14:43:36 +1000 Organization: Cuivre, Argent, Or Sender: rod@mullum.com.au Message-ID: References: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1068781481 25100 80.67.180.195 (14 Nov 2003 03:44:41 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 14 Nov 2003 03:44:41 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.8-26mdk i686) X-Accept-Language: en X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:2465 Date: 2003-11-14T14:43:36+10:00 "Dr. Adrian Wrigley" wrote: > > Rod Kay wrote: > > I believe that a different s-stratt.adb exists for GLADE to correct > > streams to cater for different 'Endian-ess' (one exists in the new > > /usr/local/lib/garlic directory, created by GLADE install), but it would > > seem that when I rebuild GtkAda the original s-stratt.adb/ali is being > > used, instead of the GLADE version. As a last resort, I tried adding the > > 'garlic' directory to the start of my ADA_OBJECTS_PATH before I rebuilt > > GtkAda, but to no avail. > > > > If anyone has experienced a similar problem, any advice would be > > very helpful. > > Yes. I had exactly the same problem a few months ago. > > I seem to remember solving it simply by deleting the new s-stratt.adb file > that comes with GLADE, and removing the references to it in the appropriate > Makefile. When you rebuild GLADE, you get libraries that seem to work > OK, but won't necessarily work in heterogenous systems. Thanks, this solves the problem. > > I did find some (slightly) helpful pages through Google. > > If you want to use the GLADE s-stratt.adb, you will probably have to recompile > lots of stuff - I tried this, but had some problems (and it takes an age). > > I have found that GLADE - based applications work well and are very easy > to design and build. But occasionally I have had problems trying to build > a really robust system (capable of surviving reboots, crashes etc). > Like you (I guess?), I am also using GtkAda/Glade, and this integrates > fairly nicely into the whole system. That is encouraging. I've found the GLADE docs and example apps to be clear and informative (in true Ada fashion), although I was uncertain as to how well GLADE would work with GtkAda. > > I now use GLADE in a mission critical, real-time application, and overall, I am > a satisfied "customer". Let us know how you get on! I now have a simple client/server app merrily chatting away courtesy of GLADE, with Gtk GUI's. Thanks again for your help.