Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsmake error with -l library flag
https://www.eclipse.org/forums/index.php/mv/msg/449004/1001009/#msg_1001009
I'm using Eclipse CDT on Ubuntu with the standard Linux GCC Toolchain and I need to link in the math library. Using the -l linker flag does eliminate the "unresolved reference" errors for the math library function calls in my code but whenever I do use the -l linker flag I get the following:
Building target: Ex15a
Invoking: GCC C Linker
gcc -l -o "Ex15a" ./Ex15a1_main.o
gcc: error: Ex15a: No such file or directory
make: *** [Ex15a] Error 1
Thanks,
Ray
]]>Ray Mitchell2013-01-15T21:13:31-00:00Re: make error with -l library flag
https://www.eclipse.org/forums/index.php/mv/msg/449004/1001233/#msg_1001233
Please follow the instructions here http://wiki.eclipse.org/CDT/User/FAQ#How_do_I_add_an_external_library_to_my_C.2B.2B_project.3F
]]>Axel Mueller2013-01-16T09:42:15-00:00Re: make error with -l library flag
https://www.eclipse.org/forums/index.php/mv/msg/449004/1001486/#msg_1001486
Ray Mitchell2013-01-16T20:12:06-00:00