[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] gcc solved! Cheers!
Martin P Holland wrote:
> 
> On Sat, 10 Jun 2000, Barrie Bremner wrote:
> 
> >#include <math.h>
> 
> > notice I`m only using gcc source.c -o output_program - should I be
> >doing something else?
> 
> Yup you need to link to the math library. So add -lm
> to your gcc command (that's an ell not an i in case you're viewing
> in a funny font).
> 
 Cheers, solved the problem. Had a look at the man, but that was at 0330
this morning, and it made no sense.
 Thanks again.
 Baz.
-- 
Barrie J. Bremner
Email:      TheEnglishman [at] ecosse.net 
	    (PGP key available at my website)
URL:    http://www.geocities.com/thefatenglishman
Telephone:	UK 0131 313 3266
Mobile:		UK 07968 792975
	Quis custodiet ipsos custodes?
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 
  GNU the choice of a complete generation.