2011/8/5 Yiling Cao (c2h2) <yilin...@gmail.com>:
al-gcc 是个alias -> arm-linux-gcc./configure --target=arm-linux --host=arm-linux手动修改了Makefile里面的gcc, ar, ranlibc2h2@c2h2vm1104:/home/c2h2/arm/ruby-1.9.2-p290$ makeal-gcc -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I. -I.ext/include/arm-linux -I./include -I. -DRUBY_EXPORT -o main.o -c main.cIn file included from ./include/ruby.h:32,from main.c:13:./include/ruby/ruby.h:108: error: size of array 'ruby_check_sizeof_long' is negative./include/ruby/ruby.h:112: error: size of array 'ruby_check_sizeof_voidp' is negativeIn file included from ./include/ruby/intern.h:29,from ./include/ruby/ruby.h:1327,from ./include/ruby.h:32,from main.c:13:./include/ruby/st.h:69: error: size of array 'st_check_for_sizeof_st_index_t' is negativemake: *** [main.o] Error 12011/8/5 机械唯物主义 : linjunhalida <linjun...@gmail.com>
肯定能编的. 有什么报错贴出来看看就好了.
2011/8/5 Yiling Cao (c2h2) <yilin...@gmail.com>:
> 我成功cross compile 了 dropbear, netcat 等等...
> 现在正在试图compile ruby, 但一直有错, 问问群众们做过吗?