Ada compiler built but not working

zhenggen zhenggen@public1.ptt.js.cn
Tue Jul 2 07:02:00 GMT 2002


Robert Love wrote:

>
> gnatmake hello.adb
> gcc -c hello.adb
> gcc: hello.adb: Ada compiler not installed on this system
> gnatmake: "hello.ali" WARNING: ALI or object file not found after compile
> gnatmake: "hello.adb" compilation error.
>
You should check which gcc you have invoked by shell command "which" :
$ which gcc
 From the message one can figure out that the old  gcc which is located 
in /usr/bin is called.
 The work around is put "/usr/local/bin" at the begin of your PATH variable.

 zhenggen



More information about the Gcc-help mailing list