I'm trying to compile and run a BeagleBoneBlack "Hello world" program with Eclipse.

I’m trying to compile and run a BeagleBoneBlack “Hello world” program with Eclipse.
After a long and unfriendly Eclipse configuration, I have a compiled “Hello word” program copied in my Beagle.
Now when I try to run it, the console shows this error:

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
I tried to install libstdc++ library in the Beagle but seems that this package doesn’t exist.

Can I compile this C++ program with other library? There are a BeagleBoardBlack under Debian package?

Thank you!!

SOLVED!! Thank you all!

And the solution was?

Use arm-linux-gnueabihf-… compiler and linker. With “hf”