Use Ada Code on Android

Is it possible to use the old Ada code on Android?

I have an old script written in Ada, and it would be great if I could just use this code in Android directly (via NDK or JNI, etc.). Is it possible? Or am I better off porting the code?

Here are some links that I found, but I really don't understand the extent to which 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

+6
source share
1 answer

I think that it’s hardly possible to simply compile the code with a specific cross-compiler, drop it on Android and make it work, unless it was some kind of toy program.

However, DragonLace provides GNAT AUX, a FreeBSD port for the GNAT Ada compiler for Android.

+4
source

Source: https://habr.com/ru/post/905563/


All Articles