Re: Compiling Euphoria 3+ for non-x86 targets
- Posted by "Mark Brown" <mabrown at ihug.com.au> Mar 14, 2007
- 521 views
Ryan wrote: > I was actually just thinking about how nice it would be to use euphoria on various RISC processors. I would love to have a pocket computer with Euhporia on it. I use my Zaurus more than my laptop these days. It's got a full vga display (very crisp,) a fully functional and surprisingly usable keyboard, firefox browser (via wifi card) etc, etc. What I really love though is using eu on it. I like to tinker as a programmer (not good enough to do anything but, I'm afraid) and the Z is great for that. > Unfortunately, I don't know enough about C and Assembly to port Euphoria to another platform. I keep thinking about trying though... I'm lousy at both C and assembler but managed to get Eu 2.4 to compile quite easily. A basic interpreter really only required that certain things be #ifdef'ed out so that the compile would work. For example, mouse support is not available on the Z but was assumed for linux in 2.4. The compile itself is even easier now as Rob changed the way that was handled. The tricky part is the small amount of assem code. My way of doing that for ARM assem was... really dodgy (my programmer brother in law confirmed that for me!) but was the only way I could get it to work. I'm going to be embarrased to show that code but at least an ARM guru will be able to fix it now that everything is open source. What target system would you be compiling for? Mark