delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/02/20:43:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49FCE88D.6040709@cwilson.fastmail.fm>
Date: Sat, 02 May 2009 20:42:53 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] pl-0.10.2-1 - the Parma Polyhedra Library
References: <announce DOT 49F9A229 DOT 1070908 AT gmail DOT com> <49FBF62E DOT 3060904 AT cs DOT unipr DOT it> <49FC71B7 DOT 3030000 AT cwilson DOT fastmail DOT fm> <49FC7EF9 DOT 4050908 AT gmail DOT com> <49FCACE6 DOT 4000104 AT cwilson DOT fastmail DOT fm> <49FCE65C DOT 7040409 AT gmail DOT com>
In-Reply-To: <49FCE65C.7040409@gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Dave Korn wrote:
> Charles Wilson wrote:
>> Dave Korn wrote:
>>> Charles Wilson wrote:
>>>> Roberto Bagnara wrote:
>>>>
>>>>> concerning the need to link with "LDFLAGS=-Wl,--enable-auto-import",
>>>>> I am wondering if there is something we could do upstream to simplify
>>>>> the life of Cygwin users.  If so, please let me know.
>>>> In gcc-4.x --enable-auto-import is the default.
>>>   No, right now it's the default setting in binutils CVS, but I haven't added
>>> it to the gcc specs.  (Guess I should for the benefit of those with older
>>> linkers).
>> You're right; I was confused.  I was thinking of the binutils change.
>> However, I wonder about the gcc thing.  If the specs file includes
>> -Wl,--enable-auto-import, and I pass -Wl,--disable-auto-import on the
>> command line, who wins?
> 
> 
>   I just don't know.  I suspect it may even depend; e.g. DRIVER_SELF_SPECS
> gets applied early, LINK_SPEC later, but I haven't experimented.  (On the
> actual ld command-line itself, later options always override earlier ones.)

In that case, maybe it's better to just leave the default behavior up to
binutils and not try to over-specify using the specs file approach.

--
Chuck

--
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/

- Raw text -


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