comp.lang.ada
 help / color / mirror / Atom feed
From: "Schüle Daniel" <uval@rz.uni-karlsruhe.de>
Subject: Re: trying to compile gnat
Date: Sun, 28 May 2006 21:10:29 +0200
Date: 2006-05-28T21:10:29+02:00	[thread overview]
Message-ID: <e5csj5$7sv$1@news2.rz.uni-karlsruhe.de> (raw)
In-Reply-To: <e59mq7$3rk$1@news2.rz.uni-karlsruhe.de>

Ok, this is where I am now

I have those dirs and files

build
gcc-4.1.1
gcc-ada-4.1.1.tar.bz2
gcc-core-4.1.1.tar.bz2
gcc-g++-4.1.1.tar.bz2
gcc-testsuite-4.1.1.tar.bz2

cd build

../gcc-4.1.1/configure --prefix=/pool/inst --enable-bootstrap 
--enable-languages=c,c++,ada
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 
$$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... yes
configure: error:
The following requested languages could not be built: ada
Recognised languages are: c,ada,c++,obj-c++,treelang

ok, configure say no Ada installed
but the following works

root@mond---[21:01:48]---/pool/software2/gcc/new/build # gnatmake 					 
/pool/PROG/ada/1/main.adb
gnatgcc -c -I/pool/PROG/ada/1/ -I- /pool/PROG/ada/1/main.adb
gnatbind -x main.ali
gnatlink main.ali

it compiles

root@mond---[21:02:26]---/pool/software2/gcc/new/build # 
/pool/PROG/ada/1/main
begin
         200
end

and executes

this last step was not working yesterday
I installed gnat binaries and set PATH accordingly
I can call gnatmake and build ELF executables

What am I missing now?
Any help approciated.

Regards, Daniel



  parent reply	other threads:[~2006-05-28 19:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-27 14:13 trying to compile gnat Schüle Daniel
2006-05-27 14:53 ` Ludovic Brenta
2006-05-27 20:57   ` Schüle Daniel
2006-05-28  8:36     ` Martin Krischik
2006-05-28  2:24 ` Jeffrey Creem
2006-05-28  8:29 ` Martin Krischik
2006-05-28 19:10 ` Schüle Daniel [this message]
2006-05-28 21:00   ` Jeffrey Creem
2006-05-28 22:47     ` Schüle Daniel
replies disabled

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