gpt4 book ai didi

c++ - 如何在 Windows 上使用 Eclipse 交叉编译树莓派

转载 作者:塔克拉玛干 更新时间:2023-11-03 07:15:50 25 4
gpt4 key购买 nike

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

最佳答案

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

Tutorial

关于c++ - 如何在 Windows 上使用 Eclipse 交叉编译树莓派,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33730991/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com