Ada GPL GNAT GPS
I'm posting this here on the off-chance that someone programs in Ada using the GNAT compiler - I can't seem to find any info on this problem online.
Whenever I try to compile a file, either through GPS or at the command line, I get this message:
I've got my environment vars setup properly (afaik) yet it can never execute that curious gnat1 - which I might add is not a program in the bin directory. Hmm.
gnatmake -u -c -u -PC:/GNAT/projects/ada_tutorial/ada_tutoral.gpr tutorial.adb -d
gcc -c -I- -gnatA C:\GNAT\projects\ada_tutorial\tutorial.adb
gcc.exe: installation problem, cannot exec `gnat1': Invalid argument
gnatmake: "c:\gnat\projects\ada_tutorial\tutorial.adb" compilation error
process exited with status 4
Can anyone help me with this?
So do you have a program called gnat1 anywhere in the installation directories?
Are you sure MinGW ships with the ADA compiler?
I've managed to get it compiling now. The only problem is I can't seem to run anything. It compiles it to an .ali and .o file and if I use ld to link it I get all sorts of weird and wonderfull errors.
It doesn't matter I'm going to put off learning Ada for a while - I really haven't got the time or inclination with College work in the way too.