Search code examples
gccg++beagleboneblackopenwrt

Toolchain in openwrt?


I have installed openwrt on beaglebone black. I found out it doesn't have gcc, g++ or any other compiler/toolchain.

How can i install compiler (preferable g++) for C and C++ in openwrt?


Solution

  • Openwrt doesn't have any compiler by default , because in many cases you have to compile software in cross compile environment. So you can find the toolchain/gcc in "openwrt buildroot" https://wiki.openwrt.org/doc/howto/build

    But, If you want to compile any source code on your Beaglebone , you can get it " opkg install gcc".