This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: Error reading line numbers ?
- To: earnie_boyd@yahoo.com
- Subject: Re: Error reading line numbers ?
- From: jeffdbREMOVETHIS@goodnet.com (Mikey)
- Date: Sun, 18 Apr 1999 14:48:20 GMT
- Cc: cygwin@sourceware.cygnus.com
- Organization: Never
- References: <19990418141442.14963.rocketmail@web104.yahoomail.com>
- Reply-To: jeffdbREMOVETHIS@goodnet.com
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@ipass.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@yahoo.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@sourceware.cygnus.com