Forum Discussion
Altera_Forum
Honored Contributor
13 years agoproblem with math.h 's function in Eclipse
hello, I made a system with Qsys which just contain a Nios II processor and its On-chip-memory. then , I use the .sopcinfo File generated by Qsys to create a nios II application with Eclipse....
Altera_Forum
Honored Contributor
13 years agoHi LETS,
I try to read differents posts on the web like: http://stackoverflow.com/questions/7824439/c-math-linker-problems-on-ubuntu-11-10 http://stackoverflow.com/questions/16344445/im-using-math-h-and-the-library-link-lm-but-undefined-reference-to-pow-st http://stackoverflow.com/questions/8480013/eclipse-c-c-cdt-add-l-option-linking-math-module-gcc-lm The generated Makefile seems to be good because Eclipse places the -lm argument at the end... I'm now installing Quartus 13.0sp1 to see if the problem persists.