From: Mike and Lynn Card <thehouseofcards@remove.this.part.mac.com>
Subject: Re: Redhat Linux 9.0 and Gnat- tasking bug
Date: Wed, 08 Oct 2003 04:47:12 GMT
Date: 2003-10-08T04:47:12+00:00 [thread overview]
Message-ID: <thehouseofcards-15A67B.00471608102003@news.verizon.net> (raw)
In-Reply-To: 5e3e03a7.0310061123.34c53510@posting.google.com
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
prev parent reply other threads:[~2003-10-08 4:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-06 19:23 Redhat Linux 9.0 and Gnat Mark Doherty
2003-10-06 20:03 ` sk
2003-10-06 23:45 ` Jeff C,
2003-10-07 13:33 ` Marc A. Criley
2003-10-07 3:58 ` John B. Matthews
2003-10-07 7:50 ` Preben Randhol
2003-10-07 11:37 ` Jeff C,
2003-10-08 4:47 ` Mike and Lynn Card [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox