Red Hat Bugzilla – Bug 37197
Cannot rebuild Gnat from the .src.rpm
Last modified: 2008-05-01 11:38:00 EDT
I wanted to install Gnat on my new RedHat 7.1 machine. I picked up the
.i386.rpm and saw that it depends on gcc 2.81 instead of 2.96. I decided
to rebuild the package by myself (rpm --rebuild) and it does not work.
Gnat needs itself to build itself.
So, 2 questions:
Why Gnat is not using gcc 2.96?
Why cannot it be rebuild with rpm --rebuild.
Thanks in advance for any answer
1) it only works with gcc-2.81
2) You must install the binary package for GNU Ada before you can rebuild
this package from the sources.
This is required, because this package provides an gcc based GNU Ada95
compiler (GNAT) and it's frontend is written in Ada95 itself. So you
need a bootstrap compiler (like you need a C compiler to build gcc).
The preparation of the package build will fail now, if GNU Ada isn't
OK, I understand.
Thanks for your answer