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


Regards,
Patrick Georgi


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to