delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/18/10:16:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: jeffdbREMOVETHIS AT goodnet DOT com (Mikey)
To: earnie_boyd AT yahoo DOT com
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Error reading line numbers ?
Date: Sun, 18 Apr 1999 14:48:20 GMT
Organization: Never
Reply-To: jeffdbREMOVETHIS AT goodnet DOT com
Message-ID: <3719ecba.344474224@mail.goodnet.com>
References: <19990418141442 DOT 14963 DOT rocketmail AT web104 DOT yahoomail DOT com>
In-Reply-To: <19990418141442.14963.rocketmail@web104.yahoomail.com>
X-Mailer: Forte Agent 1.5/32.452
MIME-Version: 1.0

The only use for libc.a libm.a TIKO is to recompile
libcygwin.a without recompiling newlib.
You can either hand edit the Makefile in .../obj/i586-cygwin32/winsup
and use 
LIBC_A=`gcc -print-file-name=libc.a`
LIBM_A=`gcc -print-file-name=libm.a`
which will work BTW whether you build newlib or not. (Why isn't this the default?)

or just place a copy of both libs in .../obj/i586-cygwin32/newlib
This will save quite a large percentage of the time normally used in a configure/compile,
but be careful about version/header changes in newlib.
ie READ the Changelog, if you do this.-)
or just use the ones from the same snap.

On Sun, 18 Apr 1999 07:14:42 -0700 (PDT), you wrote:

>--- "Suhaib M. Siddiqi" <ssiddiqi AT ipass DOT net> wrote:
>> 
>> > I have compiled my program with -c -g option's and linked it with libc.a,
>> libm.a,libcygwin.a an librpclib.a and got this error when I start it:
>> > 
>> 
>> You do not neet to link against libc.a, libcygwin.a is enough.
>--8<--
>
>This brings up the question of why libc.a is even included in the distribution
>package?  Is there a useful purpose for it?  Is there documentation as to when
>you might want to use libc.a over libcygwin.a?
>
>===
>"Earnie Boyd" <mailto:earnie_boyd AT yahoo DOT com>
>CYGWIN RELATED HELP:
> DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html>
>       DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/>
>ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR
>                <http://www.eGroups.com/list/gnu-win32/>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.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