Re: A Linux Question
- Posted by jimcbrown (admin) Jul 27, 2014
- 2021 views
Hi folks,
I was thinking of trying out Euphoria on my Nexus. Never done that before. Would I be correct in thinking that there is no equivalent in the Linux-Euphoria world of win32Lib and that any programs I wrote would be limited to the "DOS"-type?
Many thanks
Hi
No, not true
See EUGTK, IUP, and wxEuphoria.
I think the biggest problem you'll have is the ARM processor compatability (if I recall correctly)
Chris
Um... yes and no.
If you install a non-mobile OS, such as Ubuntu then "no" you probably can get something like EuGTK or wxEuphoria working but I don't think it's been attempted at all yet. wxEuphoria would have to be compiled for ARM and I don't think its prepared for that yet.
EuGTK has a smaller C library component (actually, I think the latest versions might be 100% Eu), and (as long as you're going from 32bit -> 32bit) should just work on ARM. Same is true of IUP. OTOH I'm not sure if anyone has actually tried this.
Work in getting wxEuphoria to run on ARM has been done in the past as well, though I'm not sure if it was ever finished: http://openeuphoria.org/forum/m/115717.wc
If we're talking about a Google Nexus phone or tablet, then as it stands, "yes" it is limited to command-line only until someone gets the Android NDK wrapped or integrated into an "Android edition" Euphoria. Cross-platform GUI libraries typically don't support mobile operating systems, but at least wxWidgets is trying.
-Greg
If wxWidgets succeeds, then I wonder if wxEuphoria would just work...
Technically, it's already possible to run Euphoria and a GUI on your Android phone today, but at a significant cost - you'd have to root it and install a linux/GNU chroot, then run Euphoria as a linux/GNU binary rather than as a native Android app. Perhaps success on the wxWidgets front would make this a lot easier, however...