问题
Is there any possibility to use old Ada code in Android?
I have an old script written in Ada and it would be great if I could just use that code in Android directly (via NDK or JNI etc). Is this possible? Or should I rather port the code?
Here are some links I found but I don't really understand in what extend they answer my question:
http://en.wikibooks.org/wiki/Ada_Programming/Platform/VM/Java
http://code.google.com/p/javada/
http://code.google.com/p/jgnat/
http://en.wikipedia.org/wiki/GNAT
Added: http://groups.google.com/group/comp.lang.ada/browse_thread/thread/4cb1f8d1c17d39a8?pli=1
回答1:
I think it unlikely that you could just compile the code with some particular cross-compiler, drop it on an Android, and have it work, unless it was perhaps some kind of toy program.
That said, DragonLace provides GNAT AUX, a FreeBSD-hosted port of the GNAT Ada compiler for Android.
来源:https://stackoverflow.com/questions/8795601/use-ada-code-in-android