http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56946
--- Comment #4 from Jie Zhang <jiez at gcc dot gnu.org> 2013-04-13 16:50:19 UTC --- (In reply to comment #3) > (In reply to comment #2) > > You need to add -lm to your command line. > gcc -lm -Wall assignment.c > > This is right?But it can't compile neither gcc -Wall assignment.c -lm