使用阿达code Android中 [英] Use Ada code in Android
问题描述
有没有使用旧的Ada code在Android的任何可能性?
Is there any possibility to use old Ada code in Android?
我有一个旧的剧本写在阿达,这将是巨大的,如果我可以只使用code在Android中直接(通过NDK或JNI等)。这可能吗?或者我应该相当端口code?
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://$c$c.google.com/p/javada/
HTTP://$c$c.google.com/p/jgnat/
http://en.wikipedia.org/wiki/GNAT
补充:的http://groups.google.com/group/comp.lang.ada/browse_thread/thread/4cb1f8d1c17d39a8?pli=1
推荐答案
我认为这不太可能,你可以只编译code有一些特殊的交叉编译器,把它在Android和它的工作,除非这也许是某种玩具程序。
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.
DragonLace 也就是说,提供GNAT AUX,蚋Ada编译针对Android的FreeBSD的托管端口。
That said, DragonLace provides GNAT AUX, a FreeBSD-hosted port of the GNAT Ada compiler for Android.
这篇关于使用阿达code Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!