GCC for Windows help
Larry Hall (RFK Partners, Inc.)
lhall@rfk.com
Thu May 8 21:33:00 GMT 2003
Garfield Lewis wrote:
<snip>
>
> On 8 May 2003 at 14:39, "Garfield Lewis" <galewis@ca.ibm.com> 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.
Sounds like something that the rebase package could help you with...
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/
More information about the Cygwin
mailing list