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: 103376,d26c6b989a75af31 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-11 05:45:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feed.news.nacamar.de!news.belwue.de!contact.softwarezentrum.de!news.bawue.de!lemmies.lb.bawue.de!not-for-mail From: lemchens@lemmies.lb.bawue.de (arvids lemchens) Newsgroups: comp.lang.ada Subject: Re: Problems with gcc, gnat and RedHat 8 Date: 11 Oct 2002 14:14:00 +0200 Organization: A poorly-maintained Debian GNU/Linux InterNetNews site Sender: news@pd9018060.dip.t-dialin.net Message-ID: <8YdmFcDVACB@lemmies.lb.bawue.de> References: NNTP-Posting-Host: pd9018060.dip.t-dialin.net X-Trace: pc3.dv-lemchens.de 1034338866 18783 192.168.2.6 (11 Oct 2002 12:21:06 GMT) User-Agent: OpenXP/32 v3.8.7pl1 (Linux) beta @ 2002-10-01-0756f Xref: archiver1.google.com comp.lang.ada:29715 Date: 2002-10-11T14:14:00+02:00 List-Id: Hi reinert, reinert.korsnes@chello.no am 11.10.02 um 11:14 in comp.lang.ada: > I just installed RedHat 8 on my computer and > Could someone with similar configuration try this program below ? Yes. ich@pc3:/transfer/ich2/ada/my$ gnatmake cla_0.adb gnatgcc -c cla_0.adb cla_0.adb:3:11: warning: file name does not match unit name, should be "test1.adb" gnatbind -x cla_0.ali gnatlink cla_0.ali ich@pc3:/transfer/ich2/ada/my$ ./cla_0 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 x: 10.0000000 sin(x): -0.5440211 > ** What I do wrong here ? As it semms, nothing. > Or something wrong in RH8's Ada ? As i am using Debian, it may be some distributionrelatad problem. To evaluate that, you schould reinstall your system using Debian, and test if the problem has gone. ... may be it is (also) a compilerproblem. I am using: ich@pc3:/transfer/ich2/ada/my$ dpkg -l|grep gnat ii gnat 3.14p-3 The GNU Ada 95 compiler MvfG, Arvids