Re: trying to compile gnat



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
.



Relevant Pages

  • Re: The GNU Ada compiler
    ... >>> make GNAT work pleasantly on OpenVMS. ... So just compiling a standart GCC on ... >>> OpenVMS might not be enough to have an well working Ada on OpenVMS. ... universe and a GPL only compiler is not going to help get Ada into ...
    (comp.lang.ada)
  • Re: The GNU Ada compiler
    ... >> I think AdaCore could do with some competition in the binary distribution ... > universe and a GPL only compiler is not going to help get Ada into ... when gcc 4.1 is out of the door. ... > Ada by having them try the GNAT GPL version, ...
    (comp.lang.ada)
  • Re: Standard Ada Preprocessor
    ... >> no active maintainers, and Ada. ... The cumulative effect is that GNAT ... > versions of gcc. ... This is a major upgrade to the compiler and currently ...
    (comp.lang.ada)
  • Re: Interested about number crunching in Ada
    ... gnu's gcc c compiler. ... Gnat uses it converts the C (ada tree) tree and ... structure of all GCC type compilers that use GCC as a backend. ... once and forget the Fortran code, and continue developing the Ada source. ...
    (comp.lang.ada)
  • Re: runtime systems
    ... Most Ada vendors are Intel/Mac systems. ... for non-commericial Ada most programmers use GNAT. ... The RTL is only part of the problem the main isuue is the compiler. ... have or write a ported version of the GCC "as"). ...
    (comp.lang.ada)