X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49BEC78B.4000200@gmail.com>
Date: Mon, 16 Mar 2009 21:41:31 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Porting to GCC 4.3.2
References: <49BCE42F.2040901@sh.cvut.cz> <49BEA904.7010903@sh.cvut.cz> <49BEADFD.8010505@gmail.com> <49BEC216.30604@sh.cvut.cz>
In-Reply-To: <49BEC216.30604@sh.cvut.cz>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Václav Haisman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Dave Korn wrote, On 16.3.2009 20:52:
>> Václav Haisman wrote:
>>
>>>> I am using Windows XP and Cygwin 1.5.
>>> I have added -Wl,--enable-auto-import to the compiler command line and it has
>>> fixed the resulting executable for me.
>>   You should have received a warning message during compilation telling you
>> that you might need to do that.  Did it turn up in your earlier builds before
>> you added the flag?
> Yes, the warning is there. I did not notice it in the oodles of other
> auto-import info messages.

  Thanks, just checking that there wasn't a bug causing it to be omitted.

  We've fixed this in upstream CVS versions of 'ld' by enabling auto import by
default for now.  If you're happy with building your own tools, you could
check out the binutils repository and build yourself a version that doesn't
emit all the warnings, or there will be a new binutils release coming along
fairly soon.

    cheers,
      DaveK


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

