This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: building 4.0.0 and ada with gnat-3.15p
On Tue, Apr 26, 2005 at 09:16:26AM +0200, Duncan Sands wrote:
> Hi Chris,
>
> > has anyone managed this with success? i can built ada programs just
> > fine with "gnatmake file.adb" when the gnat 3.15p binary distribution
> > is at the end of my $PATH, but i cannot build gcc-4.0 after a
> > configure --enable-languages=ada with it at the end of my $PATH
>
> I guess your question is: does the Ada bootstrap really need to use
> gcc directly on Ada files (which will fail since gcc-3.3.4 from your
> path will be used), or does it in fact only use gcc spawned by gnatmake
> (which will use gcc-2.8.1), in which case the test for Ada support is
> too strict?
>
> > will gcc-4.0.0 build with gcc-2.8.1? (what ships with gnat-3.15p, the latest
> > binary distribution i could find...)
>
> It will. Since the final gcc-4.0.0 binary you end up with is built
> using gcc-4.0.0 itself, it should be the same binary as if you'd started
> with something else.
that worked like a dream. now if only the gnat-3.15p binary distribution
for solaris worked on solaris 9 i'd be golden =)
thanks so much for your suggestion!