Mail Archives: cygwin/1999/04/18/10:16:04
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 -