This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fetchmail is available on Cygwin


On Fri, Mar 09, 2001 at 10:50:11AM -0000, Malcolm Boekhoff wrote:
> The symbol "unsetenv" is declared in "/usr/include/stdlib.h" and is defined in
> 
>     /usr/lib/libc.a
>     /usr/lib/libcygwin.a
>     /usr/lib/libg.a
>     /usr/lib/libm.a
> 
> The question is: "Which one of these libraries should I be linking to?".

_Never_ use one of these on the command line. If the Makefile contains
something like `-lc' or `-lm', drop them for linking with Cygwin.
All four libs are the same and `libcygwin.a' is implicitly linked in
from the gcc specs file.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]