To: Apollo Wong at University of Alberta 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" 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