Cross-Compiling for RaspBerry Pi

前端 未结 6 874
既然无缘
既然无缘 2021-02-04 08:43

With a RaspBerry Pi and from my computer, I\'m trying to cross-compile a simple helloWorld written in C++. I\'m using Code Sourcery toolchain for linux to compile.

When

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-04 09:35

    You could try the toolchain at: https://github.com/kallaballa/Raspberry-GCC-4.7.3

    It's a pre-built gcc-4.7.3 toolchain for armv6 with hardfp using gnueabi. I'm using it to cross compile c++11 for a raspberrian target.

    Please note it only works on linux x86_64 hosts.

提交回复
热议问题