Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 9 Mar 2001 14:11:11 +0100 From: Corinna Vinschen To: cygwin Subject: Re: Fetchmail is available on Cygwin Message-ID: <20010309141111.A3079@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <15014 DOT 18490 DOT 962000 DOT 402109 AT dbush-mobl DOT ds DOT intel DOT com> <20010307162610 DOT P21275 AT cygbert DOT vinschen DOT de> <019a01c0a71c$63b4a580$275c100a AT actfs DOT co DOT uk> <20010307165501 DOT Q21275 AT cygbert DOT vinschen DOT de> <003701c0a886$b7509710$275c100a AT actfs DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003701c0a886$b7509710$275c100a@actfs.co.uk>; from Malcolm.Boekhoff@actfs.co.uk on Fri, Mar 09, 2001 at 10:50:11AM -0000 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