X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_35 X-Spam-Check-By: sourceware.org X-Spam-Score: -92.017 Message-ID: <49BEA904.7010903@sh.cvut.cz> Date: Mon, 16 Mar 2009 20:31:16 +0100 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) 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> In-Reply-To: <49BCE42F.2040901@sh.cvut.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Václav Haisman wrote, On 15.3.2009 12:19: > Hi, > I am trying to use GCC 4.3.2 to compile log4cplus 1.0.3 source. Compilation > works but test cases that are using the resulting DLL do not work. The $? > shell variable ends up with value 5. I used depends.exe on the test case > executable and it finds all dependencies except DWMAPI.DLL. After some > digging > ( > and > ) > my question is: Does the GCC 4.3.2 change how delay loaded DLLs are handled > or is this problem unrelated to mine? The problem is apparently not this. > > 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. - -- VH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) iFYEAREIAAYFAkm+qQQACgkQhQBMvHf/WHmY+QDdHxljq4x6A8jcYG1l/d4sJqUl gTXCj7NJW6Z+RADfRGhd9Yau71GpDdacmlAV/tzhwfXSUoN7ppje1A== =0sYD -----END PGP SIGNATURE----- -- 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/