Forum Discussion
Altera_Forum
Honored Contributor
12 years agoGotta link it against the library libm... "-lm" needs to be added at the tail end of your compilation command. This is not specific to Nios II. It wouldn't work with any GCC compiler without linking against libm.