交叉编译Ruby for ARM
下载ruby源码包:
export CC=/usr/bin/arm-linux-gnueabihf-gcc
export LD=/usr/bin/arm-linux-gnueabihf-ld
export AR=/usr/bin/arm-linux-gnueabihf-ar
export RANLIB=/usr/bin/arm-linux-gnueabihf-ranlib
export ac_cv_func_getpgrp_void=yes
export ac_cv_func_setpgrp_void=yes
./configure --target=arm-linux --host=arm-linux --prefix=/home/i5/orocos/install/ruby --with-static-linked-ext --disable-shared --disable-install-doc
然后再:
make && make install
关于如何使用cmake搭建交叉编译环境,see link
声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
- 上一篇:没有了
- 下一篇:没有了
