How to run GNAT Programming Studio on Raspberry PI 3 (Raspbian)?

Viewed 1165

I can not run GNAT Programming Studio on Raspberry PI 3 (Raspbian).

I am using 2017-06-21-raspbian-jessie.img and gnat-gpl-2016-raspberrypi-linux-linux-bin.tar.gz

After unzipping and typing in terminal sudo ./doinstall it is installed in /usr/gnat. Then I get a message saying

GNAT GPL is now installed. To luanch it, you must put /usr/gnat/bin in front of your PATH enviroment variable.

Then I type in terminal PATH="/usr/gnat/bin:$PATH"; export PATH.

Then I type in terminal gps after that I get

/usr/gnat/bin/gps_exe: 1: /usr/gnat/bin/gps_exe: Syntax error: word unexpected (expecting ")")

I have tried executing executable in /usr/gnat/bin but then I get

/usr/gnat/bin/gps_exe: cannot execute binary file: Exec format error

How to install it properly and be able to run it?

1 Answers
Related