delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/05/12/12:51:02

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Wed, 12 May 1999 12:51:10 -0400
From: Chris Faylor <cgf AT cygnus DOT com>
To: Larry Hall <lhall AT rfk DOT com>
Cc: Mumit Khan <khan AT xraylith DOT wisc DOT edu>,
cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: -lc == -lcygwin in the next release?
Message-ID: <19990512125110.C731@cygnus.com>
References: <19990511181107 DOT A6957 AT cygnus DOT com> <Pine DOT SUN DOT 3 DOT 93 DOT 990511175533 DOT 26495C-100000 AT modi DOT xraylith DOT wis c.edu> <3 DOT 0 DOT 5 DOT 32 DOT 19990512092602 DOT 00ae39a0 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.3i
In-Reply-To: <3.0.5.32.19990512092602.00ae39a0@pop.ma.ultranet.com>; from Larry Hall on Wed, May 12, 1999 at 09:26:02AM -0400

On Wed, May 12, 1999 at 09:26:02AM -0400, Larry Hall wrote:
>At 05:57 PM 5/11/99 -0500, Mumit Khan wrote:
>>On Tue, 11 May 1999, Chris Faylor wrote:
>>
>>> Does anyone mind if I get rid of libcygwin.a in the next release
>>> and just call it libc.a?  Then when it is copied to /whatever/lib
>>> it will work correctly when it is used on a command line.
>>> 
>>
>>I just suggested something similar in a post to cygwin list. The current 
>>situation causes gratuitous problems that can be solved by simply either
>>linking libcygwin.a to libc.a or renaming libcygwin.a to libc.a. Either
>>way, please please remove the newlib libc.a.
>
>I like the idea of renaming the .a but leaving a symlink to libcygwin.a.
>This makes the "inadvertent" use of -lc work as expected but clues in 
>anyone developing cygwin that libcygwin.a maps to libc.a.  I think that
>would help avoid confusion for everyone without adding a stitch of
>documentation!:-)

I would like to remove the libcygwin.a entirely.  I don't see any reason
for it.  You don't have a 'liblinux.a' on linux.  libcygwin.a is really
just libc.a.

If we make a symlink then we'll be getting reports that linking libcygwin.a
from MSVC doesn't work correctly.

-chris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019