Re: Question about porting
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Apr 23, 2007
- 444 views
Jonas Temple wrote: > > Okay, dumb question. > > Is there any documentation on "What to do when porting Euphoria to another > platform"? > I'm considering working on a Unix-type port and not sure where to start. My advice would be to start with the FreeBSD build process. It's hard to say which would be better (Rob's 4.x or the 6.2 stuff I did). If you're working with non-x86 hardware, then you've got some significant effort ahead of you. At a minimum, you'll have to write some assembly code for the call_c stuff. Assuming that gcc exists, you shouldn't have to worry about the dynamic jumps in be_execute.c. Of course, to start with, you'll probably have to start on some other platform that already runs euphoria, since you need the translator for the front end. When I updated the FreeBSD build process, there were several changes in which functions were in which libraries, and I had to change the linkage and so forth. You'll probably face a similar challenge. Matt