Use Ada code in Android

▼魔方 西西 提交于 2020-01-23 06:28:23

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!