delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/15/09:36:08

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,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49BD1355.6080602@gmail.com>
Date: Sun, 15 Mar 2009 14:40:21 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
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>
In-Reply-To: <49BCE42F.2040901@sh.cvut.cz>
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

Václav Haisman wrote:
> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
> 
> 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 
> (<http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/bc7a7414-6564-40bb-b8d2-af86345f2bc2/>
>  and 
> <http://stackoverflow.com/questions/173433/how-to-fix-dwmapidll-delay-load-dependency-under-winxp>)
>  my question is: Does the GCC 4.3.2 change how delay loaded DLLs are
> handled or is this problem unrelated to mine?

  Not as far as I know.  Perhaps what you need is to add "-shared-libgcc" to
the command line, as in Marco's earlier post?

http://cygwin.com/ml/cygwin/2009-03/msg00494.html

    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/

- Raw text -


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