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: <397FE96A.68BDDDE3@cygnus.com> Date: Thu, 27 Jul 2000 09:48:58 +0200 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: ill-o AT visto DOT com CC: cygwin AT sources DOT redhat DOT com Subject: Re: Missing libm.a, etc? References: <200007262352 DOT QAA06691 AT cygnus DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Joseph Rosenzweig wrote: > > I was using version B20 and now I am using > the latest version of GCC and it complains > when I give it option "-lm" that there is no > libm.a, which there in fact is not anymore. > I put the old B20 libm.a in the lib directory > and the programs will compile. There are in fact > a number of other files in lib from B20 that > are not in lib of the latest version. Someone > on this list posted something about how libm.a > is now really libcygwin.a? Does that mean I > don't have to specify "-lm" to use math > functions now? What about the other missing > lib files? Thanks in advance for any > information -- Joseph Rosenzweig libc.a and libm.a are included in libcygwin.a so there's no need to link with `-lc' or `-lm'. You'll have to change that in your Makefile. Corinna -- Corinna Vinschen Please, send mail regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com