This is the mail archive of the gcc@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: [Ada?] Can't build gcc-3.3.5 on rawhide/i686-linux: system.ads is incorrectly formatted


chj> I suspect I can't build gnat in gcc-3.3.5 using gcc-3.4.2 then... or?

I've run into this problem too.  Here is a vague recollection:

When gnat starts up, it looks for a system.ads file and reads it in.
Unfortunately, the search strategy for "system.ads" looks in the
program-being-compiled first, so your gnat 3.4.2 is picking up
"system.ads" from whatever program you are compiling.

I can't see why this would ever be correct -- I think gnat should
always use its own "system.ads" file from the gnat installation
directory.

Anyways, that's a vague explanation and it might have errors.
Perhaps a more fluent Ada guy can give a more accurate explanation.

Michael Chastain


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