delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/21/19:56:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <39CAA0E6.4B64442E@veritas.com>
Date: Thu, 21 Sep 2000 16:59:34 -0700
From: Bob McGowan <rmcgowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
CC: Cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: libm.a linking errork
References: <20000921234133 DOT 16185 DOT qmail AT web116 DOT yahoomail DOT com>

Thanks, Earnie.  It's been too long since I've done this, and had
forgotten the position dependancy (even tho' I remember seeing it done
correctly recently ;-(

Earnie Boyd wrote:
> 
> In this case, your use of -lm is in the wrong location on the line.  Your
> example builds without complaint when you:
>   gcc -o pgm pgm.c -lm
> Yes, location of the library switches make a difference.
> 
> --- Bob McGowan <rmcgowan AT veritas DOT com> wrote:
> > I remember seeing some posts regarding libm, libc and libcygwin over the
> > last few months, but I can't find anything in the archives that refers
> > to the error message I'm seeing.  But I did find some questions asked
> > about why changing the current handling of the library names should
> > change.  Either this is a reason or I have somehow misconfigured things,
> > though I can't see where.  So I'm also attaching the output of cygcheck
> > -v -r -s below, just in case;)
> >
> 
> Cheers,
> 
> =====
> --- <http://earniesystems.safeshopper.com> ---
>    Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
>             __Cygwin: POSIX on Windows__
> Cygwin Newbies: <http://gw32.freeyellow.com/>
>            __Minimalist GNU for Windows__
>     Mingw Home: <http://www.mingw.org/>
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019