grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] make grub2 compile with libc-less crosscompilers


From: Patrick Georgi
Subject: Re: [PATCH] make grub2 compile with libc-less crosscompilers
Date: Mon, 04 Jun 2007 19:03:18 +0200
User-agent: Thunderbird 2.0b2 (X11/20070411)

Yoshinori K. Okuji schrieb:
Also, without grub-emu, how do you plan to debug GRUB?
I'd have some questions relating to that to improve the patch, if possible.
But first, please note that grub-emu currently can't work because argp.h and its features aren't provided on Solaris, so I can't test the proper operation of it.

As for grub-emu, does it use the target-built objects (ie. .mod files) and loads them in the host system? If so, is this why you need the _start/start (and the other) detection, so the modules contain the right symbol for the host? In this case, the right solution would probably be to do those tests using the host compiler, not the target's.

The target doesn't care one way or the other (there is no non-grub code around that looks for symbols at boot time), so it can just inherit, what the host is doing.

I can provide a patch that takes this into account, if my guesses are correct, but I'd need some more insights in what exactly is required.


Thanks,
Patrick Georgi





reply via email to

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