RFC/Ada: removal of $(ADAC)
Roger Sayle
roger@www.eyesopen.com
Tue May 13 15:50:00 GMT 2003
On Tue, 13 May 2003, Richard Kenner wrote:
> If with the FSF tree, on a system with an installed GNAT in /usr/bin,
> you type the innocent "configure", "make bootstrap" and "make install",
> you can get the system into an inconsistent state requiring $(ADAC)
> to dig you out.
>
> The problem is that by default make builds and installs gnat but not
> "gnatlib_and_tools" from the gcc/ada subdirectory.
>
> Right. You do need to do that.
I'm not up to speed on the arguments for why this isn't the default.
Enabling gcj builds libjava by default, and g++ builds libstdc++...
> My solution, using "ADAC=/usr/bin/gcc", to atleast bootstrap the ada
> front-end, then manually build "gnatlib_and_tools" and install them.
> But for some reason, I still had to install "gnatmake" manually!
>
> I'm not sure sure I understand how that helped, but why wouldn't simply
> using CC=/usr/bin/gcc have worked just as well?
Ah, OK. That may well have fixed the problem I was experiencing. At
the time I was focused on this being an ada specific problem, when I
came across the ADAC documentation in the installation instructions.
I withdraw my objections. Though the process wasn't as painless as
it could have been.
Roger
--
More information about the Gcc
mailing list