Hi everyone,

I'm trying to cross-compile last Ruby stable version (1.9.3-p194) for a
SH4 (a.k.a. ST40) architecture. I have the cross-compiling tools
installed (and have succesfully cross-compiled other sources), and I
used the following configure line:

$ ./configure --prefix=$HOME/ruby-sh4 --build=i686-pc-linux-gnu
--host=sh4-linux

Which runs apparently fine (with no errors, config.log attached).
However, when I run make, I get the following error:

[...]
Generating RDoc documentation
/usr/share/rubygems/rubygems/defaults/operating_system.rb:10:in
`transpose': element size differs (10 should be 9) (IndexError)
[...]

Followed by a stack trace (make.log attached). Compiling for the local
machine gives me no problem, so the problem must be related to
cross-compilation.

I know it's a pretty specific issue, but any insight would be really
appreciated.

Thanks in advance.

Attachments:
http://www.ruby-forum.com/attachment/7740/config.log
http://www.ruby-forum.com/attachment/7741/make.log


-- 
Posted via http://www.ruby-forum.com/.