adastm32f4discoverygnat-gps

GNAT Programming Studio (IDE) and STM32 problems


I’m using the Ada programming IDE GNAT Programming Studio (GPS, GPL 2017 release) and I’m having a hard time when I try to use it with STM32F4Disco.

On Linux (Ubuntu 17.10), when I try to open a STM32 project, GPS freezes. No core-dump, no error message. No exception message in .gsp/log but look like it didn't finish loading.

Help will be much appreciated. Thank you

Edit: I installed GNAT 2017, Spark and arm-elf for Linux from AdaCore website.

Edit 2: I remove my question about GPS on Mac because it might be considered software-hardware questions.


Solution

  • You have to install 32 bits support. On Ubuntu/Debian execute this command:

    sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386