X-Recipient: archive-cygwin AT delorie DOT 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 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Porting to GCC 4.3.2 References: <49BCE42F DOT 2040901 AT sh DOT cvut DOT cz> <49BEA904 DOT 7010903 AT sh DOT cvut DOT cz> <49BEADFD DOT 8010505 AT gmail DOT com> <49BEC216 DOT 30604 AT sh DOT cvut DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/