I'm trying to get Ruby up and running on an ARM-based Windows CE device
(Pocket PC 2003 and Windows Mobile 5 pda devices). The pre-built
binaries on http://uema2.s8.xrea.com/ruby-mswince/ don't work very well
for anything other than the simplest of code - ie anything with a
'require' is toast, as relative paths do not work; so anything relying
on gems (even gems itself!) is no good.

Has anyone attempted to get Ruby running using the Windows CE cross
development tools (http://cegcc.sourceforge.net/) for Cygwin/Linux? This
could be a better solution as I believe thay have implemented some sort
of relative path system in their 'newlib' libc replacement.

Using the arm-wince-cegcc toolset I can seemingly configure the code ok
using:

CC=/opt/cegcc/bin/arm-wince-cegcc-gcc.exe \
CPP=/opt/cegcc/bin/arm-wince-cegcc-cpp.exe \
LIBS="-I/opt/cegcc/include" \
LDFLAGS="-L/opt/cegcc/lib" \
./configure --host=arm-wince --prefix=/WinCE/built

.. and then get part way into the build process (up to ext/bigdecimal)
but then it throws up dozens of undefined references when trying to
link... I guess I need to build a load of other arm-wince native
libraries as well?

Is this worthwhile? The dozens of other questions about ruby on
wince/pocket pc all have the same problems (wince:strerror or the path
problems), so some kind of solution is needed.
-- 
Posted via http://www.ruby-forum.com/.