delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 3 Sep 2004 23:24:46 -0400 |
From: | Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: how to link without libutil.so? [repost] |
Message-ID: | <20040904032446.GA18306@trixie.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <chb8ej$enb$1 AT sea DOT gmane DOT org> <20040904023518 DOT GA17453 AT trixie DOT casa DOT cgf DOT cx> <chbc5e$kch$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
In-Reply-To: | <chbc5e$kch$1@sea.gmane.org> |
User-Agent: | Mutt/1.4.1i |
On Fri, Sep 03, 2004 at 11:18:06PM -0400, Andrew Schulman wrote: >>>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: >>>cannot find -lutil >> >>As you noted, the file doesn't exist in the cygwin distribution. It's >>possible that you could just get by with removing it from the link line >>entirely since it looks like most of the functions in this library are >>in cygwin1.dll. > >No, I tried that already. You said that you tried linking libcygwin.a to libutil.a but that is not necessarily going to work. >The link still fails. "the link still fails" provides almost zero useful information. You certainly didn't get the same "cannot find -lutil" error message when you tried this. Since Corinna went to some effort to add libutil functionality to the cygwin DLL a while ago and since I can't see any functions in libutil.so which are missing from cygwin1.dll, I don't see why this didn't work. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |