[Top][All Lists]

[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: Sat, 19 May 2007 19:53:59 +0200
User-agent: Thunderbird (X11/20061204)

Yoshinori K. Okuji schrieb:
On Saturday 19 May 2007 17:30, Patrick Georgi wrote:
the target compiler that link libc (and potentially even more libs) -
which don't exist in my configuration.
As those are not necessary, I decided to modify grub2 instead of messing
around even more with the not-so-nice gcc build system.

They are necessary. Otherwise, you cannot make a core image, for example.
uhm. where do you expect a target compiled file (ie. one that's run at boot time) to use libc?

I'm _not_ talking about the host compiler - here everything works fine, after all, there's no linker abuse going on there, just the average compile+link process.
Also, without grub-emu, how do you plan to debug GRUB?
qemu - the portions I work on need it anyway
BTW I can hardly believe that it is so difficult to use gnu build tools on solaris. Otherwise, how are opensolaris developers building GRUB?
Compiling gcc 4.2 (or 4.1.2) with gnu as and gnu ld in the back end resulted in compile errors here, when I tried to do a "normal" build.

The grub (0.95 btw!) in the OpenSolaris tree features a parallel makefile hierarchy that uses /usr/sfw/bin/gcc (which uses Sun tools in the back end) and, it seems, manual invocations of gnu ld.
so here you are - they basically link by hand

Patrick Georgi

reply via email to

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