This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem with gnatmake 4.7.0 in QNX 6.5.0
- From: bogdan <bceler at op dot pl>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 17 May 2012 10:53:57 +0200
- Subject: Problem with gnatmake 4.7.0 in QNX 6.5.0
I just ported gcc 4.7.0 to QNX.
But I have a problem with gnatmake. Command:
# gnatmake hello -cargs -O2
gcc -c -O2 hello.adb
gnatmake: "hello.ali" incompatible ALI file, please recompile
gnatmake: "hello.adb" compilation error
But where do the
# gcc -c -O2 hello.adb
# gnatbind -x hello.ali
# gnatlink hello.ali
This compilation succeeds:
# ./hello
Hello WORLD!
#
In gcc 4.6.3 with gnat not problem.
Maybe someone knows whether the problem lies on the side of gnatmake or in another place.
Thank you for any suggestions.
Bogdan Celer