This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC/Ada: removal of $(ADAC)
- From: Roger Sayle <roger at www dot eyesopen dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 13 May 2003 09:32:59 -0600 (MDT)
- Subject: Re: RFC/Ada: removal of $(ADAC)
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
--