Community
Participate
Working Groups
Build Identifier: 5.3.0 When I try to build my project, the log shows that it can't find "-l/usr/lib/libgmp.so". I tried this command without "-l" in terminal and it works. **** Build of configuration Debug for project test **** make all Building target: test Invoking: GCC C++ Linker g++ -o "test" ./test.o -l/usr/lib/libgmp.so /usr/bin/ld: cannot find -l/usr/lib/libgmp.so collect2: ld returned 1 exit status make: *** [test] Error 1 **** Build Finished **** Reproducible: Always
gcc version 4.6.1 20110819 (prerelease) (GCC)
That message is coming from gcc compiler/linker not from CDT. You probably need to use -lgmp instead. If you need help, please, use GCC online documentation or ask in user forum at Eclipse Community Forums http://www.eclipse.org/forums/ - Language IDEs - CDT.