On Wed, 2005-07-27 at 06:29 +0900, Shawn Church wrote:
> Never mind, I worked it out.

Would you mind sharing what you ran into and what you did to solve it? I
would be interested in cross compiling ruby too, but haven't tried yet.

Guillaume.

> Shawn
> 
> 
> Quoting Shawn Church <shawn / boxity.com>:
> 
> > I am new to Ruby and I have an application which would be well-suited
> > to
> > Rails.  The difficulty is that this application will run on an
> > embedded
> > ARM processor (Arcom-based armv5tel).  I have searched the archives,
> > but
> > I haven't yet found a solution for cross-compiling from i386 to ARM. 
> > I
> > found this:
> > 
> > ac_cv_func_getpgrp_void=yes \
> > ac_cv_func_setpgrp_void=yes \
> > ac_cv_sizeof_long_long=8 \
> > ac_cv_func_memcmp_clean=yes \
> > ac_cv_func_getrlimit=yes \
> > ./configure \
> > --target=arm-linux \
> > --host=arm-linux \
> > --build=`sh config.guess`
> > 
> > but when I try to run the ruby executable on my target machine, I
> > just
> > get a 'cannot execute binary file'.
> > 
> > I would appreciate any help anyone has to offer.
> > 
> > Thanks,
> > Shawn
> > 
> > 
> 
> 
> 
>