comp.lang.ada
 help / color / mirror / Atom feed
From: gsandri@iolao.netmania.it (Giacomo Sandri)
Subject: Beginner's problem
Date: 1997/12/11
Date: 1997-12-11T00:00:00+00:00	[thread overview]
Message-ID: <66p30h$16v@iolao.netmania.it> (raw)



I'm tring to run GNU Ada 95 compiler on my Linux box.
After several problem of dir, this is my situazion of libraries:

iolao:/usr/lib/gcc-lib/i486-linux# ls -al
total 4
drwxr-xr-x   4 root     root         1024 Dec  8 12:42 ./
drwxr-xr-x   4 root     root         1024 Dec  5 17:18 ../
lrwxrwxrwx   1 root     root            9 Dec  8 12:21 2.7.2 -> 2.7.2_ada/
lrwxrwxrwx   1 root     root            9 Dec  8 12:42 2.7.2.1 ->
2.7.2_ada/
drwxr-xr-x   5 root     root         1024 Dec  8 12:42 2.7.2_ada/
drwxr-xr-x   3 root     root         1024 Dec  8 12:02 2.7.2_gcc/

.because "doinstall" needs a "2.7.2.1" to install and I believed better
to save the original "2.7.2" on "2.7.2_gcc" before installation.

Now it seem to work fine, I've no more message errors, but testing this
file:

---snip------------------------------------------------------------------
with Text_IO;
use Text_IO;
procedure hello is
begin
	Put_Line ("Hello WORLD!");
end hello;
-------------------------------------------------------------------------

here you are what it happends: 

---snip------------------------------------------------------------------
iolao:~/ada/work$ gnatmake hello.adb
gcc -c hello.adb
gnatbind -x hello.ali
gnatlink hello.ali
iolao:~/ada/work$ hello
hello: must exec from 1
-------------------------------------------------------------------------

.and "hello" doesn't run :'(

-- 
As always, rebuttals are welcome! =======> gsandri@tin.it <=
 Netmania IOLinux $ite http://space.tin.it/computer/gisandr
********* Linux... the choice of a GNU generation! *********




                 reply	other threads:[~1997-12-11  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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