grub-devel
[Top][All Lists]
Advanced

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

Re: Patch to compile boot.img properly on OSX


From: Yves Blusseau
Subject: Re: Patch to compile boot.img properly on OSX
Date: Sat, 15 Aug 2009 09:24:53 +0200


Le 14 août 09 à 23:55, Pavel Roskin a écrit :

On Thu, 2009-08-13 at 02:24 -0400, Pavel Roskin wrote:

Since Yves is interested perhaps he could do the "dirty job" of
applying repetitive fixes and testing different images? And submit a
patch then?

Fine with me.

I have fixed the *.img files other than kernel.img, but there is still a lot of APPLE_CC in other *.S files, so there is enough work for everyone
interested.

Fixings lnxboot.S wasn't exactly trivial.

By the way, it should be possible to remove -static from
TARGET_IMG_CFLAGS if some data labels in lnxboot.S are also marked
local.  That's a good thing since my Darwin cross-compiler fails
silently with -static trying to link kernel.exec.  But I'd like to
understand it better first.

I will try to remove apple specific declarations with the LOCAL macro in others files like:

./commands/i386/pc/drivemap_int13h.S
./kern/i386/pc/startup.S
./kern/i386/qemu/startup.S
./loader/i386/linux_trampoline.S
./loader/i386/xnu_helper.S
./mmap/i386/pc/mmap_helper.S

and send the patch on the ML for testing.

Regards,
Yves



reply via email to

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