1. Question about porting

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.

Jonas Temple
http://www.innovativesys.net

new topic     » topic index » view message » categorize

2. Re: Question about porting

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu