| www.delorie.com/archives/browse.cgi | search |
| To: | Apollo Wong at University of Alberta <apollo AT ee DOT ualberta DOT ca> |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu (GCC mailing list), sl25 AT cus DOT cam DOT ac DOT uk |
| Subject: | Re: Math functions not included? |
| Date: | Fri, 12 Jun 92 07:23:45 +0100 |
| From: | "S. Linton" <sl25 AT cus DOT cam DOT ac DOT uk> |
I imagine hundreds of people are about to say this, but the -l flag in C compilation is location-specific. In this case, -lm must come AFTER math.c in the gcc command line. Steve Linton
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |