【问题标题】:Cross compile to i686 on x86 macOS在 x86 macOS 上交叉编译到 i686
【发布时间】:2020-06-09 11:37:57
【问题描述】:

我正在尝试使用我的 x86 macbook 将 rust 程序交叉编译为 i686_unknown_linux_gnu。 我阅读了https://blog.rust-lang.org/2016/05/13/rustup.html,发现我需要为 i686 获取链接器。

但我的旅程到此结束。我找不到 i686 工具链。 有人可以帮帮我吗?

【问题讨论】:

    标签: rust compilation toolchain


    【解决方案1】:

    我找到了一种简单的方法来做我想做的事。 我正在使用https://github.com/rust-embedded/cross,它具有与货物相同的行为并且做得很好。 我的mac上没有问题。

    【讨论】:

      猜你喜欢
      • 2019-07-18
      • 1970-01-01
      • 2021-06-25
      • 2020-07-05
      • 2014-07-20
      • 2017-07-16
      • 2011-06-08
      • 1970-01-01
      • 2022-11-04
      相关资源
      最近更新 更多