[AWS] "This application has requested the Runtime to terminate it in an unusual way" message from Gnat's copy of gcc
Jocelyn Paine
popx at j-paine.org
Sun Jan 9 07:43:42 CET 2011
On Sat, 8 Jan 2011, Pascal Obry wrote:
> Jocelyn,
>
> Not sure what is going wrong but for sure GNAT GPL 2010 is working fine
> with AWS has this has been tested before. The error you reported is
> about wrong DWARF2 unwinding in Zero Cost Exception mode.
>
>> What's going on here? Should I be using the gcc supplied with Gnat or my
>> own, and if the latter, how do I make setup.grp recognise it?
>
> You must use ONLY the GNAT GPL binaries. The Cygwin is only necessary
> for its toolset (make, cp, bash...) but you must avoid Cygwin compilers
> and libraries. This is what I suspect is wrong.
>
Pascal, thanks. I removed the other gcc, and tried again, but still got
the error. After Googling about it, I discovered that another user had had
it too: see a comp.lang.ada posting by Franck Gaultier on December 31st
starting the thread "Failed to compile XmlAda with cygwin",
http://www.rhinocerus.net/forum/lang-ada/656849-failed-compile-xmlada-cygwin.html
. The solution is to set the environment variable TEMP to /tmp, which I
did by adding the line
export TEMP=/tmp
to my Cygwin .bashrc file.
With this done, I was able to do the makes, and to run my AWS test
program.
> Be sure to set the PATH with GNAT GPL first, and run make setup again.
> You may need to clean up first:
>
> $ make clean
> $ make setup
> Pascal.
>
> --|------------------------------------------------------
> --| Pascal Obry Team-Ada Member
> --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
> --|------------------------------------------------------
> --| http://www.obry.net - http://v2p.fr.eu.org
> --| "The best way to travel is by means of imagination"
> --|
> --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
Jocelyn Ireson-Paine
http://www.j-paine.org
http://www.spreadsheet-parts.org
+44 (0)7768 534 091
Jocelyn's Cartoons:
http://www.j-paine.org/blog/jocelyns_cartoons/
More information about the AWS
mailing list