Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20000921234133.16185.qmail@web116.yahoomail.com> Date: Thu, 21 Sep 2000 16:41:33 -0700 (PDT) From: Earnie Boyd Subject: Re: libm.a linking errork To: Bob McGowan , Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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, ===== --- --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw Home: __________________________________________________ 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