Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Subject: Re: GCC for Windows help To: cygwin AT cygwin DOT com Message-ID: From: "Garfield Lewis" Date: Thu, 8 May 2003 17:09:46 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Hi, I would appreciate any help I can get on the attached problem. Thx, Garfield A. Lewis DB2 UDB Development (905) 413-3438 T/L: 969-3438 Intranet External E-mail IBM SWS Toronto Laboratory ----- Forwarded by Garfield Lewis/Toronto/IBM on 05/08/2003 04:55 PM ----- |---------+----------------------------> | | (Jerry Heyman) | | | | | | | | | 05/08/2003 04:44 | | | PM | | | Please respond to| | | jheyman | | | | |---------+----------------------------> >-----------------------------------------------------------------------------------------------------------------------------| | | | To: "Garfield Lewis" | | cc: | | Subject: Re: GCC for Windows help | | | | | >-----------------------------------------------------------------------------------------------------------------------------| Haven't seen the question come across the cygwin mailing list. Have you tried that one? cygwin AT cywin DOT com jerry On 8 May 2003 at 14:39, "Garfield Lewis" wrote: > Yes, been there done that... The problem is not building the dll it's > running it. Since their linker strips the relocations out of the dll then > if the dll is loaded by any proces that happens to not have the preferred > address free then the dll will not load because cannot fixup the address > within the dll. It is a stupid default for Windows but seems to be the case > here. The --emit-relocs option seems to be what I need, however, so far all > my info indicates that this only works for ELF binaries. Using the > ---enable-auto-image-base is a workaround for now because it chooses an > address other than 0x10000000 as the preferred load address but it to will > fail if the above happens, however less likely. > > Thx, > > Garfield A. Lewis > > DB2 UDB Development (905) 413-3438 T/L: 969-3438 > Intranet > > External E-mail > > IBM SWS Toronto Laboratory -- 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/