Community
Participate
Working Groups
Build Identifier: M20100211-1343 I'm using libraries semaphore.c and math.c which requires some arguments to link them on compilation time, using terminal works like: bash$ gcc -o name name.c -lm -pthread -lrt I need to set that options (-lm -pthread -lrt) when building the binary file from eclipse, otherwise I get errors informing that the fuctions which belongs to those libraries are undefined, and I can't run my program from eclipse. I want to compile, say build binary, passing that options to gcc, in order to build links to those libraries. BR. LP Reproducible: Always Steps to Reproduce: 1.#include <math.h> #include <semaphore.h> 2.try to use pow() or sem_wait() 3.try to build binary
Please, use bugzilla for reporting bugs only. For questions use user forums http://www.eclipse.org/forums/ and select CDT. You are more likely to get help there anyway. We do not do user support here.