This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: building 4.0.0 and ada with gnat-3.15p


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.

Ciao,

Duncan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]