Hi! Monday, 02 December, 2002 Earnie Boyd [EMAIL PROTECTED] wrote:
EB> egor duda wrote: >> Monday, 02 December, 2002 egor duda [EMAIL PROTECTED] wrote: >> >> ed> 2002-12-02 Egor Duda <[EMAIL PROTECTED]> >> ed> * cygwin/lib/pseudo-reloc.c: New file. >> >> I guess i should put it to the public domain, so that mingw folks can >> also use it. >> EB> Is it usable without Cygwin? Yes. It doesn't use any cygwin functionality. Recent binutils should export __RUNTIME_PSEUDO_RELOC_LIST__ and __RUNTIME_PSEUDO_RELOC_LIST_END__ symbols for all PE-based targets, including Mingw. I'm not that familiar with Mingw internals, but you just have to add a call to _pei386_runtime_relocator() to the application startup (to the crt2.o, IIRC) and link with pseudo-reloc.o. Egor. mailto:[EMAIL PROTECTED] ICQ 5165414 FidoNet 2:5020/496.19