Re: [PATCH] New tool to convert pe image to elf

2008-07-24 Thread Bean
On Thu, Jul 24, 2008 at 1:32 PM, Christian Franke <[EMAIL PROTECTED]> wrote: > Bean wrote: >>> >>> ... >>> Another real world test (grub-install on an USB flash drive and boot) >>> works. >>> >>> Patch is IMO good to go. >>> >>> >>> Then only the fix for >>> update-grub-lib:make_system_path_relativ

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Christian Franke
Bean wrote: ... Another real world test (grub-install on an USB flash drive and boot) works. Patch is IMO good to go. Then only the fix for update-grub-lib:make_system_path_relative_to_its_root() remains for OOTB Cygwin support. Hi, Oh nice. Here is a new patch with small adjustment to

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Bean
On Thu, Jul 24, 2008 at 6:24 AM, Christian Franke <[EMAIL PROTECTED]> wrote: > Christian Franke wrote: >> >> Bean wrote: >>> >>> On Wed, Jul 23, 2008 at 1:54 PM, Bean <[EMAIL PROTECTED]> wrote: >>> ... >>> Hi, >>> >>> I have fixed a few bugs in grub-pe2elf in this new patch,it should >>> work as e

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Christian Franke
Christian Franke wrote: Bean wrote: On Wed, Jul 23, 2008 at 1:54 PM, Bean <[EMAIL PROTECTED]> wrote: ... Hi, I have fixed a few bugs in grub-pe2elf in this new patch,it should work as expected now. Yes, 3rd patch looks good. Thanks for the converter! Another real world test (grub-ins

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Christian Franke
Bean wrote: On Wed, Jul 23, 2008 at 1:54 PM, Bean <[EMAIL PROTECTED]> wrote: ... Hi, I have fixed a few bugs in grub-pe2elf in this new patch,it should work as expected now. Yes, 3rd patch looks good. Thanks for the converter! Christian _

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Bean
On Wed, Jul 23, 2008 at 1:54 PM, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > I change the structure of grub-pe2elf, now it uses sub function to do > various task instead of one huge trunk. > > I also include the build script by Christian Franke, as it's needed to > compile successfully in cygwin. I m

Re: [PATCH] New tool to convert pe image to elf

2008-07-22 Thread Bean
Hi, I change the structure of grub-pe2elf, now it uses sub function to do various task instead of one huge trunk. I also include the build script by Christian Franke, as it's needed to compile successfully in cygwin. I make some adjustment: 1, use grub-pe2elf to generate module file instead of o

Re: [PATCH] New tool to convert pe image to elf

2008-07-22 Thread Christian Franke
Bean wrote: This patch add a new tool grub-pe2elf, which can be used to convert pe image created by cygwin. It's written using grub environment, no external library or tool is required. For example, to convert pe module hello.mod to elf: grub-pe2elf hello.mod The relocation issue is fixed, I al