delorie.com/archives/browse.cgi | search |
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 AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |