macos - 在 Mac M1 中使用 make 时出现“ld:未找到架构 arm64 的符号”
问题描述
好的,所以我想在我的系统上构建一个交叉编译器。我正在设置环境以在 OSdev 上工作。在构建 GCC-Cross 编译器时,我面临以下错误:
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [full-stamp] Error 1
make: *** [all-build-fixincludes] Error
我已经下载了 GCC 文件并设置了要构建的配置。我在使用命令时收到此错误
sudo make all-gcc
这是生成文件:https ://pastebin.com/cbBqwPBn
提前非常感谢。在过去的几天里,我一直被困在这个问题上。
这是 MacBook Air M1 64 位。我正在关注这个以供参考。
解决方案
推荐阅读
- vxml - vxml 在队列中提示时转到新文档
- java - 从过滤器发送自定义响应对象和响应代码
- python - 在 pyspark 中获取大集合中的相关性
- python - 为什么在 python 最里面的 for 循环中选择与定义的外部循环不同的值?
- maven - 使用 Selenium-Cucumber Maven 框架进行跨浏览器测试
- java - Angular Material DatePicker在MySQL数据库中存储前一天
- javascript - 提交评论后更新模态组件
- reactjs - Reactjs - 调用自定义函数以在用户键入时替换字符
- python - 如何对熊猫中特定列的值求和
- azure - Azure 逻辑应用 HTTP 操作授权失败