打印

关于在mac os下建立linux交叉编译环境

[复制链接]
231|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
kaloulin|  楼主 | 2018-9-21 18:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我的mac os 10.9.1

准备在上面搭建linux交叉编译环境。

执行:sudo port install arm-none-linux-gnueabi-gcc时报错:

Error: org.macports.build for port arm-none-linux-gnueabi-gcc returned: command execution failed以下是调试信息:Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-none-linux-gnueabi-gcc/arm-none-linux-gnueabi-gcc/work/build" && /usr/bin/make -j5 -w all AR_FOR_TARGET=arm-none-linux-gnueabi-ar AS_FOR_TARGET=arm-none-linux-gnueabi-as LD_FOR_TARGET=arm-none-linux-gnueabi-ld NM_FOR_TARGET=arm-none-linux-gnueabi-nm RANLIB_FOR_TARGET=arm-none-linux-gnueabi-ranlib Exit code: 2Error: org.macports.build for port arm-none-linux-gnueabi-gcc returned: command execution failedDEBUG: Error code: CHILDSTATUS 35514 2DEBUG: Backtrace: command execution failed    while executing"system -nice 0 $fullcmdstring"    ("eval" body line 1)    invoked from within"eval system $notty $nice \$fullcmdstring"    invoked from within"command_exec build"    (procedure "portbuild::build_main" line 8)    invoked from within

"$procedure $targetname"

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

439

主题

448

帖子

0

粉丝