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: fcd6c,f3beb245983bd21f X-Google-Attributes: gidfcd6c,public X-Google-Thread: 103376,f3beb245983bd21f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-07 21:47:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny01.gnilink.net.POSTED!53ab2750!not-for-mail From: Mike and Lynn Card Newsgroups: linux.redhat.install,comp.lang.ada Subject: Re: Redhat Linux 9.0 and Gnat- tasking bug References: <5e3e03a7.0310061123.34c53510@posting.google.com> User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X) Message-ID: Date: Wed, 08 Oct 2003 04:47:12 GMT NNTP-Posting-Host: 141.149.207.43 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny01.gnilink.net 1065588432 141.149.207.43 (Wed, 08 Oct 2003 00:47:12 EDT) NNTP-Posting-Date: Wed, 08 Oct 2003 00:47:12 EDT Xref: archiver1.google.com linux.redhat.install:177 comp.lang.ada:436 Date: 2003-10-08T04:47:12+00:00 List-Id: Hey Mark- FWIW, I think you'll find that Ada tasking does not work with the GNAT that comes installed by default in RH9. I used the GNAT that came with RH8 and it workeed great, but the size of the data structure for tasks changed in RH9 and so GNAT's task control blocks are the wrong size. So if you have a program that uses tasking you will have problems. We fixed this on our RH9 installation by downloading LOTS of RPMs for gcc and installing them ourselves after finding a newsgroup posting when doing a Google search for information about this problem. I say LOTS because of dependencies we encountered that kept requiring more and more RPMs. Anyway, to our amazement we did as the posting recommended and voila our GNAT compiler is producing good code for programs with tasking. Unfortunately I couldn't find the link just now, but here is another thread that describes the problem: http://www.geocrawler.com/archives/3/84/1996/1/50/273331/ - Mike In article <5e3e03a7.0310061123.34c53510@posting.google.com>, mark_doherty@yahoo.co.uk (Mark Doherty) wrote: > I am new to Linux and have installed a full installation of Linux from > redhat (9). I then updated to the latest versions of most RPMs using > redhat network. This has installed gcc 3.2. I have tried to install > AWS and the compiler does not recognise pragma Unreferenced. I have > got round it for the moment by removing the -gnatwe style switches. > I don't understand why the pragma Unreferenced has been removed in a > later version of GCC. It seems like a good pragma to me. Is there > another pragma to use instead. > > Am I wasting my time using gcc 3.2 until GNAT supports it. (I am not > sure what version of gnat I am using because I don't know the Linux > command that tells me). If so how do I go back to 2.8.1. > > Do all the components compiled with gcc 3.2 need to be recompiled, > how? > Should I install Redhat 7.x instead? > > Having gone through the initial installation pain of Linux (UK BT > broadband modem), I am not going back to Windows! > > Mark