I am trying to have eclipse on linux (Ubuntu) link the math module.
Normally I would link with gcc -lm. How do I get eclipse to add this?
Is it in library paths under Proje
Go to Project and select Properties.
Expand C/C++ Build and choose Settings.
Under the Tool settings tab expand GCC Linker and select Libraries.
At the right of the window, add a library named m at Libraries (-l).