On 05/07/2011 06:00 PM, [email protected] wrote:

It seems that make builds "gentrigtables" (which is an ELF 64-bit LSB
executable, naturally) then attempts to execute "./gentrigtables>
trigtables.c"

A patch for this seems to exist:

http://git.pokylinux.org/cgit/cgit.cgi/meta-intel/tree/common/recipes-bsp/grub/grub1.98/gentrigtables-compile-fix.patch

And referenced here:
https://lists.yoctoproject.org/pipermail/poky/2011-February/003980.html

With this note from Tom Zanussi:

> Fixes [BUG #711].
>
> gentrigtables was being build as a 64-bit binary which wouldn't run on
> the build machine.  grub-mkfont was also causing compile failures, add
> dependency on libfreetype for that.

However, I believe this patch only works if the BUILD_CC variable is set in the environment before the build is run .... Just thinking out loud, it seems to me like finding the host system's native compiler should be a part of the configure process.

Cheers,
 -Eric

--
http://www.freesa.org/ -- mobile: +31 620719662
aim: ericigps -- skype: eric_herman -- jabber: [email protected]

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to