[Ada?] Can't build gcc-3.3.5 on rawhide/i686-linux: system.ads is incorrectly formatted

Michael Chastain mec.gnu@mindspring.com
Fri Oct 8 15:52:00 GMT 2004


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



More information about the Gcc mailing list