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.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/cd8e4b3e-070e-46a4-ba2a-998f8d6059b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to