Hello All,
I am using eclipse Luna to perform cross compilation of C++ project for beaglebone black target.
for the same I am using g+±4.9-arm-linux-gnueabihf.
I am trying to use C++ 11 std::thread and have linker flag to be -pthread.
But the linker is giving me below issues:
Building target: testArm
Invoking: Cross G++ Linker
arm-linux-gnueabihf-g++ ‐pthread -o “testArm” ./src/ledControl.o ./src/testArm.o
makefile:45: recipe for target ‘testArm’ failed
arm-linux-gnueabihf-g++: error: ‐pthread: No such file or directory
make: *** [testArm] Error 1
Can anyone help with it.