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-06 16:45:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail From: "Jeff C," Newsgroups: linux.redhat.install,comp.lang.ada References: <5e3e03a7.0310061123.34c53510@posting.google.com> Subject: Re: Redhat Linux 9.0 and Gnat X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 66.31.4.164 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc02 1065483912 66.31.4.164 (Mon, 06 Oct 2003 23:45:12 GMT) NNTP-Posting-Date: Mon, 06 Oct 2003 23:45:12 GMT Organization: Comcast Online Date: Mon, 06 Oct 2003 23:45:12 GMT Xref: archiver1.google.com linux.redhat.install:130 comp.lang.ada:346 Date: 2003-10-06T23:45:12+00:00 List-Id: "Mark Doherty" wrote in message news:5e3e03a7.0310061123.34c53510@posting.google.com... > 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 Actually ACT already supports GNAT based on a gcc 3.2 code base it is just that gcc 3.2 does not have the most up to date GNAT code in it. You can either go back to gnat-3.15p (which is still going to be missing some features that you might want or need) or you can upgrade to GNAT 5.01 by building it yourself from the CVS sources http://libre.act-europe.fr/GNAT/ There are directions on how to build it somewhere in CVS. It seems scary but just follow them exactly and you will be ok. Note that whatever version you use I believe there are some tasking issues with Redhat 9 and GNAT due to the threading changes RH9.