I am having a strange problem.
The math libraries has been added to my makefile.
# include standard C library LDFLAGS += -lc # include standard math
The sequence for -lm -lc -lgcc plays a very important role. Only this sequence works for me.
-lm -lc -lgcc
These commands go to the Linker Options!