delorie.com/archives/browse.cgi | search |
Date: | Wed, 7 Sep 1994 10:28:20 -0500 (CDT) |
From: | "Troy D. VanHorn" <tvanhorn AT ozarks DOT sgcl DOT lib DOT mo DOT us> |
Subject: | Re: Missing rint()? |
To: | Bob Hood <rbh AT evolving DOT com> |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
It sounds like you are not linking the math library in. Try this: GCC prog.c -o prog -lm The -lm tells gcc to link libm.a which contains the math functions found in <math.h>. Troy...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |