This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: how to link without libutil.so? [repost]
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/