grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Build on Cygwin


From: Christian Franke
Subject: Re: [PATCH] Build on Cygwin
Date: Sat, 09 Feb 2008 00:56:10 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7

Robert Millan wrote:
On Fri, Nov 23, 2007 at 11:31:37PM +0100, Christian Franke wrote:
This patch enables build on Cygwin. It handles the issues introduced by the non-ELF object format.

A linker script replaces the unsupported -N option. PE modules are converted to ELF. ELF-only assembly language features are removed.

Please note that this patch produces a conflict in genmk.rb unless the "Handle C symbols with leading underscore" is applied first.

This is the last patch derived from "[PATCH] grub2 for Cygwin".

I don't recall which thread this is, but I think the last time we discussed
this the conclussion was that the simplest solution was to enable a build
option in binutils to obtain ELF support?


Due to limitations and requirements of bfd (no relocation conversion support), gas (no multiple object format support) and gcc (creates object format dependent assembly output), a complete (cross-)compiler toolchain would be necessary.

See "Building GRUB on platforms without ELF support".

Christian





reply via email to

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