delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/11/11:34:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 11 Oct 2000 11:33:05 -0400
To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>
Subject: Re: Two snapshot bugs
Message-ID: <20001011113305.G9598@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>
References: <779F20BCCE5AD31186A50008C75D99791717B4 AT silldn_mail1 DOT sanwaint DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <779F20BCCE5AD31186A50008C75D99791717B4@silldn_mail1.sanwaint.com>; from EFifer@sanwaint.com on Wed, Oct 11, 2000 at 12:33:07PM +0100

On Wed, Oct 11, 2000 at 12:33:07PM +0100, Fifer, Eric wrote:
>>Chris Faylor wrote:
>>>On Tue, Oct 10, 2000 at 01:50:37PM -0400, Larry Hall (RFK Partners, Inc)
>wrote:
>>>At 01:08 PM 10/10/2000, Fifer, Eric wrote:
>>>>+ Restructuring of libm.a, libc.a and libcygwin.a:
>>>>   Should be mentioned in the changes list?
>>>>   Also, __infinity seems to be multiply-defined:
>>>>         /usr/lib/libcygwin.a(ds00023.o)(.text+0x0): multiple definition
>of
>>>>`__infinity'
>>>>         /usr/lib/libm.a(s_infconst.o)(.text+0x0): first defined here
>>>>   Or I might be doing something wrong.  I'm still struggling
>>>>   to get Perl to compile.
>>>
>>>libm.a and libc.a are symlinks to libcygwin.a.  Right now, gcc doesn't 
>>>understand this so your best bet is to use only one of these in your 
>>>link stream.  If you don't, the resulting executable will crash. 
>>
>>Also, this is unchanged since 1.1.4, AFAIK.
>
>Really?  This is what I see in the latest snapshot.
>
>$ bunzip2 -c cygwin-inst-20001010.tar.bz2 | tar vtf - | egrep
>'lib(c|g|m|cygwin)\.a'
>-rw-r--r-- dj/games     246456 2000-10-11 05:35 usr/lib/libg.a
>-rw-r--r-- dj/games     215962 2000-10-11 05:36 usr/lib/libm.a
>-rw-r--r-- dj/games          0 2000-10-11 05:35 usr/lib/libc.a link to
>usr/lib/libg.a
>-rw-r--r-- dj/games     762638 2000-10-11 05:35 usr/lib/libcygwin.a

In that case, the snapshot is screwed up.  libm.a should be linked
to libcygwin.a.

This is not an issue for the 1.1.5 release.  I *always* symbolically
link libcygwin.a to libm.a.  Here is the text from my release script:

    ln -sf libcygwin.a libc.a
    ln -sf libcygwin.a libm.a
    ln -sf libcygwin.a libg.a

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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