I'm trying to learn Ada from Wikibooks. I've downloaded and installed GNAT GPL 2011, created a project in the GPS IDE which comes with it and written an example hello world programme.
The problem I have is that the GPS IDE doesn't bind and link my programme. From here I've found out that gnatbind
and gnatlink
must be run after gcc
. If I do it manually from the command line, the build succeeds and an executable file is correctly generated. But if I click "Build All" in GPS all I get is
gnatmake -d -PD:\path\to\project.gpr
gcc -c -I- -gnatA D:\path\to\hello.adb
[2011-06-23 13:05:17] process terminated successfully (elapsed time: 00.35s)
and only *.o and *.ali files are generated.
How do I make GPS bind and link my app?