| www.delorie.com/archives/browse.cgi | search |
| Date: | Thu, 6 Jul 1995 08:04:41 +0300 |
| From: | eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) |
| To: | lebaron AT inrs-telecom DOT uquebec DOT ca |
| Subject: | Re: libm symbols not found |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
> gcc -lm mil.c > mil.o Undefined symbol _sin referenced from text segment The order of the object files and libraries on the command line is significant, since gcc uses a one-pass linker. You should say gcc mil.c -lm
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |