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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2b82a7b0e64b610 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-13 07:56:11 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep4-winn.server.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GLADE + s-stratt.adb + GtkAda problem. References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Thu, 13 Nov 2003 15:56:08 +0000 NNTP-Posting-Host: 81.100.88.147 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep4-winn.server.ntli.net 1068738970 81.100.88.147 (Thu, 13 Nov 2003 15:56:10 GMT) NNTP-Posting-Date: Thu, 13 Nov 2003 15:56:10 GMT Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:2450 Date: 2003-11-13T15:56:08+00:00 List-Id: 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. 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. 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! -- Dr. Adrian Wrigley, Cambridge, UK.