openwrt中的工具链?

abh*_*ora 5 gcc openwrt g++ beagleboneblack

我已经安装openwrtbeaglebone black. 我发现它没有gccg++或任何其他编译器/工具链。

如何在 openwrt 中安装 C 和 C++ 编译器(最好是 g++)?

m-m*_*asa 3

Openwrt默认没有任何编译器,因为很多情况下你必须在交叉编译环境下编译软件。所以你可以在“openwrt buildroot”中找到工具链/gcc https://wiki.openwrt.org/doc/howto/build

但是,如果您想在 Beaglebone 上编译任何源代码,您可以获取“opkg install gcc”。