comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey Creem" <jeff@thecreems.com>
Subject: Re: gcc 3.2.3 and trancendental functions
Date: Sat, 03 May 2003 14:40:35 GMT
Date: 2003-05-03T14:40:35+00:00	[thread overview]
Message-ID: <CxQsa.713000$3D1.392790@sccrnsc01> (raw)
In-Reply-To: 030520030858096351%hopperj@macconnect.com




"jim hopper" <hopperj@macconnect.com> wrote in message
news:030520030858096351%hopperj@macconnect.com...
> We have a problem.  we have a couple new linux boxes. one is red hat 8,
> the other in 9.0.  when i try to run our radar sim it hangs.   finally
> traced it down to a problem with sin/cos etc.  so i created a little
> program that just calls cosine with 45"  (tried both degrees version
> and radians.  the cos returns NAN.
>
> so i went to gcc.gnu.edu and downloaded source for gcc 3.2.3 (i think)
> and built and bootstrapped, same problem!
>
> then i went to cs.nyu.edu and downloaded the linux distribution for
> gnat 3.15p there and installed it, and everything works fine. on the
> 8.0 box.
>
> on the 9.0 box neither compiler seems to work. howoever if i move the
> executable done with gnat 3.15p over to the 9.0 box that executes ok, i
> just cant execute anything compiled on that box.
>
> Does anyone have any insight into why transendentals fail on gcc 3.2.3
> compiler??
>
> thanks jim



There are at least two open bug reports in the GCC GNATS database for this.

It has been pointed out on the GCC list a few times that the Ada support in
the GCC mainline is still not ready
for widespread use. Hopefully by 3.3 (soon) things will improve.

Either continue to use 3.15 (or 3.16 if you are a supported customer) or if
you must have features of the newer
GCC, consider poking around the GCC mailing list to see how to do your own
build based on the FSF GCC CVS along with
the public Libre software CVS tree (http://libre.act-europe.fr/GNAT/)





  parent reply	other threads:[~2003-05-03 14:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-03 13:06 gcc 3.2.3 and trancendental functions jim hopper
2003-05-03 14:07 ` Samuel Tardieu
2003-05-03 14:40 ` Jeffrey Creem [this message]
2003-05-06  1:41   ` jim hopper
2003-05-05 18:09 ` Mark Johnson
2003-05-06  1:43   ` jim hopper
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox