我无法在Raspberry PI 3(Raspbian)上运行GNAT Programming Studio。
我正在使用2017-06-21-raspbian-jessie.img
和gnat-gpl-2016-raspberrypi-linux-linux-bin.tar.gz
解压缩并在终端sudo ./doinstall
中输入后,它将安装在/usr/gnat
中。然后我收到一条消息说
GNAT GPL is now installed. To luanch it, you must put /usr/gnat/bin in front of your PATH enviroment variable.
然后我输入终端PATH="/usr/gnat/bin:$PATH"; export PATH
。
然后我输入终端gps
/usr/gnat/bin/gps_exe: 1: /usr/gnat/bin/gps_exe: Syntax error: word unexpected (expecting ")")
我已尝试在/usr/gnat/bin
中执行可执行文件,但后来我
/usr/gnat/bin/gps_exe: cannot execute binary file: Exec format error
如何正确安装并能够运行它?
答案 0 :(得分:3)
您需要在x86计算机上安装它。
来自自述文件:
- 用于raspberrypi的GNAT GPL编译器是托管在其上的交叉编译器 linux-x86(或linux-x86_64)