comp.lang.ada
 help / color / mirror / Atom feed
* Beginner's problem
@ 1997-12-11  0:00 Giacomo Sandri
  0 siblings, 0 replies; only message in thread
From: Giacomo Sandri @ 1997-12-11  0:00 UTC (permalink / 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! *********




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-11  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-11  0:00 Beginner's problem Giacomo Sandri

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