Re: trying to compile gnat



[...]

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 gcc-4.1.1
./configure --prefix=/myLocation --enable-languages=c,c++,ada

I am somewhat confused, gcc and g++ are genereated and
I can compile with them, so what's wrong with ada?

Regards, Daniel

Do you have a previous version of GNAT installed? Since GNAT is
written in Ada, you need an Ada compiler to bootstrap it.

no, I don't have GNAT installed, so I guess I am experiencing
egg chicken problem.
Is there no C written version of Ada compiler?


What "make" command do you use, after the configure? It should be
"make bootstrap" or "make bootstrap-lean".

make bootstrap


The GNAT tools (gnatmake etc) should then normally appear in the gcc
subdirectory.

no gnatmake on my system

More details here: http://ada.krischik.com/


thx, I will look for solutions

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: Current status of Ada?
    ... learning and using this great language. ... The reason why compilers maker can't make their compiler totally free ... I agree with you that most of the links you can find on Ada websites ... AdaCore has contributed a free gnat compiler to ...
    (comp.lang.ada)
  • Re: Ravenscar-compliant bounded buffer
    ... the mid 1980's most compiler are FRONT_END compilers aka ... any system build around GNAT will contain the C code that GNAT ... The XGC Ada which is based on GNAT and uses C for its Real Time ... with VAXes for data processing applications. ...
    (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)