From: Dirk Heinrichs <dirk.heinrichs@online.de>
Subject: Re: Trig Function Linking Problems
Date: Tue, 17 Apr 2007 18:58:54 +0200
Date: 2007-04-17T18:58:54+02:00 [thread overview]
Message-ID: <f02uce$dl0$1@online.de> (raw)
In-Reply-To: 1176755562.190964.167640@w1g2000hsg.googlegroups.com
AJAskey wrote:
>>From system with : GNATMAKE 3.13p (20000509) Copyright 1995-2000
> Free Software Foundation, Inc.
> gcc 2.96
> Linux Red Hat 7.1 2.96-98
>>>trig
> sin(a) 7.07090E-01
> cos(a) 7.07123E-01
> tan(a) 9.99954E-01
> a 7.85375E-01
Don't know if that helps, but I got a correct result on my Gentoo Linux with
gnat-gcc 4.1.2:
heini@gondolin ~ % gnatmake trig
gnatgcc -c trig.adb
gnatbind -x trig.ali
gnatlink trig.ali
heini@gondolin ~ % ./trig
sin(a) 7.07090E-01
cos(a) 7.07123E-01
tan(a) 9.99954E-01
a 7.85375E-01
heini@gondolin ~ % gnatgcc --version
gnatgcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
So I'd guess it's like someone wrote before, you may have an
incompatible/broken egcs/gcc/gnat mix.
Bye...
Dirk
next prev parent reply other threads:[~2007-04-17 16:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 20:32 Trig Function Linking Problems AJAskey
2007-04-16 22:46 ` Jeffrey Creem
2007-04-16 23:39 ` Markus E Leypold
2007-04-17 9:59 ` AJAskey
2007-04-17 10:55 ` Markus E Leypold
2007-04-17 11:48 ` AJAskey
2007-04-17 12:05 ` Markus E Leypold
2007-04-17 12:32 ` Ludovic Brenta
2007-04-17 0:22 ` Jeffrey R. Carter
2007-04-17 16:58 ` Dirk Heinrichs [this message]
2007-04-17 18:54 ` AJAskey
2007-04-17 20:50 ` Ludovic Brenta
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox