comp.lang.ada
 help / color / mirror / Atom feed
From: lemchens@lemmies.lb.bawue.de (arvids lemchens)
Subject: Re: Problems with gcc, gnat and RedHat 8
Date: 11 Oct 2002 14:14:00 +0200
Date: 2002-10-11T14:14:00+02:00	[thread overview]
Message-ID: <8YdmFcDVACB@lemmies.lb.bawue.de> (raw)
In-Reply-To: ao656o$2fl$1@dolly.uninett.no

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




  reply	other threads:[~2002-10-11 12:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11  9:14 Problems with gcc, gnat and RedHat 8 Reinert Korsnes
2002-10-11 12:14 ` arvids lemchens [this message]
2002-10-11 15:23 ` zhenggen
2002-10-11 16:15   ` Reinert Korsnes
2002-10-14  0:24     ` zhenggen
2002-10-12 10:57 ` Florian Weimer
2002-10-13 10:19   ` Simon Wright
replies disabled

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