A,

It is -lm (lower case ell, lower case emm)

--
Sanjeev

----- Original Message -----
From: "Arindam Bhattacharjee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 23, 2002 9:47 AM
Subject: Re: [ilugd]: pow() and sqrt() in C programs


> I have used the -Im option with gcc, but thats no good. The system reports
> linking error just as it was doing. Please help.
> Arindam
> On Friday 22 March 2002 03:21 pm, you wrote:
> > Are you using -lm on the gcc command for linking in the maths library?
> >
> > - Sandip
> >
> > On Fri, Mar 22, 2002 at 02:53:05PM +0530, Arindam Bhattacharjee spoke
out
> thus:
> > > Hello Friends,
> > > My C programs are giving linking errors corrosponding to pow() and
> > > sqrt() functions. I have included math.h file. Does soomeone have any
> > > idea about the remedy?
> > > Arindam
> > >
> > >           ================================================
> > > To subscribe, send email to [EMAIL PROTECTED] with subscribe in
> > > subject header To unsubscribe, send email to [EMAIL PROTECTED]
with
> > > unsubscribe in subject header Archives are available at
> > > http://www.mail-archive.com/ilugd%40wpaa.org
> > > =================================================
>
>           ================================================
> To subscribe, send email to [EMAIL PROTECTED] with subscribe in
subject header
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in
subject header
> Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
>           =================================================
>
>

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to