How to install C and C++ compiler SOLUTION SOLVED

Hi,

Just want to post a simple solution for installing both C and C++ compiler for the BB in one go. Allot of the solutions on the Google are aimed at cross compiling and installing is unfriendly for the novice. So if anyone asks, then hopefully this post will be useful.

“opkg install task-native-sdk”

gets you:-

  • gcc
  • g++
  • make
  • binutils
    Regards
    Aubrey.

Thanks for sharing this.

I remember when I was trying to figure this out for the Beaglebone, I
thought that this package wasn't available, since "opkg list" didn't
display task-native-sdk. I ended up installing task-sdk-target, which
also worked. I guess both names point to the same set of packages.

Dan.