caw
caw

Reputation: 31487

Use Ada code in Android

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

Upvotes: 6

Views: 1804

Answers (1)

Marc C
Marc C

Reputation: 8522

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.

Upvotes: 4

Related Questions