[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Kernel fixes for Cygwin

From: Christian Franke
Subject: Re: [PATCH] Kernel fixes for Cygwin
Date: Mon, 21 Jul 2008 12:33:31 +0200

Bean wrote:
> Hi,
> BTW, if you have time, you can consider writing a tool that convert pe
> to elf directly, thus avoiding objcopy altogether. This shouldn't be
> too difficult, you can take a look at util/i386/efi/grub-mkimage.c,
> which does exactly the opposite, converting elf to pe32.


due to the complexity of PE, a stand-alone converter may likely be
larger than the ~680 LoC converter I already offered here. It was
rejected, see this thread:

It should be possible to build a smaller tool that only fixes the
relocation info in the generated ELF. But due to the C++ redesign of
smartmontools, my open source time is somewhat limited in the moment :-)

To provide Cygwin support for the next release, I would suggest to
accept the small hack in kern/i386/dl.c for now. It is already available
it and it works. It can be removed when a tool is available. Or accept
the converter mentioned above.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]