Hi folks

There's already an existing version of Ruby for CE/ARM, but you need MS 
EMVC++ and the Windows Mobile SDK to build... I've tried all combinations 
and just couldn't get the thing to build... and it seems all existing
binaries have a string handling problem (google: ruby wince wince::strerror).

Anyway, last week I took a look a your CEGCC project (latest 0.51 
release) and thought I'd have a go of compiling Ruby (latest 
stable 1.8.6-p111) the good old fashioned Unix way.

I've surprised myself and despite *some* work needed (a few local 
declarations that were also present in the CEGCC system headers, plus 
changing several 'forks' to 'vfork' along with an 'execl' to 'execv') I've 
actually managed to get a working Ruby interpreter!

I'm now trying to tie up a few loose ends, and one thing I couldn't sort 
out was an error when trying to build the socket extensions for Ruby - one 
the functions that they use is h_errno; the code compiles cleanly, but
when it comes to linking the final binary it falls over with an undefined 
reference to "__h_errno_location". I can't find this symbol anywhere.

This is unfortunate as without the socket extension we can't run any of 
the web based stuff that makes Ruby, or at least Ruby on Rails, so neat.

Would anyone be willing to take a look at how I've gone about this and see 
if we can figure out the last part of the puzzle?

I've documented what I've found, and all of the compile errors here:

http://www.target-earth.net/gadgets/

.. as I say, it seems to be all working except this one remaining issue.

Thanks in advance for any help or info you can give me

-John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to