今晚我第一次在Macbook上安装了Ada和AWS。
安装过程中一切似乎都很成功,但我有一种AWS没有安装到正确目录的感觉。
GNAT位于/usr/local/gnat。
AWS的makefile.conf上写着:
AWS will be installed under $(prefix). Update this variable to point to
the install directory. By default, it is set to the current GNAT root
directory to have AWS project files automatically available.
所以我没有改变目标。
但是当我尝试从系统的任何位置编译hello_world时,除了AWS演示文件夹之外,我会收到以下错误信息:
~/projects/ada:gnatmake hello.adb
gcc -c hello.adb
hello.adb:1:06: file "aws.ads" not found
hello.adb:2:06: file "aws.ads" not found
hello.adb:3:06: file "aws.ads" not found
hello.adb:4:06: file "aws.ads" not found
gnatmake: "hello.adb" compilation error
我该如何确保AWS已经正确安装,或者如果没有安装成功,如何移除它?