[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug: cygwin support breaks cross compiles on cygwin
From: |
Bean |
Subject: |
Re: bug: cygwin support breaks cross compiles on cygwin |
Date: |
Fri, 8 Aug 2008 18:17:18 +0800 |
On Fri, Aug 8, 2008 at 5:03 PM, Patrick Georgi <address@hidden> wrote:
> Hi,
>
> I used cygwin to build grub2/i386-coreboot using an i386-elf cross compiler.
> unfortunately the test in configure only looks for the host platform and
> enables pe2elf in that case, even though my compiler emits ELF already.
>
> my workaround is to just change that test (there's no OS cyg_win), but of
> course that's no permanent solution.
> Bean proposed on IRC to look if the target compiler emits PE, and enable
> pe2elf based on that.
Hi,
Yes, we can solve this with script. Another way is to do some test in
grub-pe2elf. If the image is already elf, it does nothing and return
true. This should fix the problem as well.
--
Bean