【问题标题】:How to Cross-Compile Raspberry Pi using Eclipse on Windows如何在 Windows 上使用 Eclipse 交叉编译 Raspberry Pi
【发布时间】:2015-11-16 08:23:08
【问题描述】:

最近,我有了一个新的树莓派,我想在 Windows 上使用 Eclipse 和 MinGW 编译器来构建 c++ 代码并在树莓派上运行它们。有什么办法吗?

【问题讨论】:

    标签: c++ eclipse raspberry-pi mingw cross-compiling


    【解决方案1】:

    您需要交叉编译。创建项目时需要选择 Cross GCC Toolchain 并且需要将 Cross compile 前缀设置为:“arm-linux-gnueabihf-”

    Tutorial

    【讨论】:

    • 谢谢@Gonzo Gonzales 先生,我尝试应用上面提到的方法,但他们认为我已经构建了[Windows cross-compiler for Raspberry Pi] (gurucoding.com/en/rpi_cross_compiler/index.php),你知道吗如何下载/构建该工具链
    猜你喜欢
    • 2012-06-28
    • 2016-09-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-19
    • 2020-11-16
    • 1970-01-01
    相关资源
    最近更新 更多