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: compiler driver that understands Ada... no


Carl B. Constantine wrote: 

> checking for gnatbind... /package/gnat-3.15/bin/gnatbind
> checking for compiler driver that understands Ada... no
>
> Well, what gives with that? How can I fix this? I thought gcc
> understood ada and I could use it? gnat 3.15p doesn't come with a
> "compiler driver" so how the hell am I supposed to build Gnat?

'gcc' is the compiler driver. There'll be a gcc included in the GNAT
distribution - that's the one it wants.

I've had trouble before with the 'checking for a compiler driver that
understands Ada' code. The easiest thing to do is use the GNAT-supplied
compiler as the bootstrap compiler - it should support both C and Ada - and
ignore any other gccs you've got. Put the GNAT bin directory first in your
path and fingers crossed it'll all work.

I've also have had trouble with the gnatlib and tools not installing
properly; make sure when you're done you have a
<prefix>/lib/gcc-lib/<target>/<version>/adalib and adainclude, and that at
least gnatbind and gnatmake are in <prefix>/bin. I think I had to butcher
the makefiles a bit and install a few things manually. But then maybe that
was user error - I didn't read the docs :-)

Good luck,
Rup.


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