[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc math functions



Christopher Judd writes:
 > 	I have a PC with debian 1.3.1 installed (my first linux 
 > installation). When I try to use the  math functions (exp, pow, etc.) in
 > gcc I get a message like:
 > 
 > 	/tmp/cca016941.o(.text+0x5f): undefined reference to `exp'

gcc -o name -c files.c -lm
                       ^^^

-- 

Brian Denheyer
briand@northwest.com


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: