[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross compiling GRUB
From: |
Yoshinori K. Okuji |
Subject: |
Re: Cross compiling GRUB |
Date: |
Sat, 19 Jan 2002 08:15:38 +0900 |
User-agent: |
Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryoae) APEL/10.3 Emacs/20.7 (i686-pc-linux-gnu) MULE/4.0 (HANANOEN) |
At Fri, 18 Jan 2002 23:27:19 +0100,
Klaus Reichl wrote:
> To fix this we need autoconf expertise wrt. cross compiling (Okuji,
> you or to whom can we talk to?).
Perhaps not me. I tackled a lot of cross compiling when working on GNU
Mach and GNU Hurd, but I didn't face any big problem at that time
(probably thanks to Roland McGrath). Gordon may have more experience
than I.
> From glibc's configure.in:
>
> if test $host != $build; then
> AC_CHECK_PROGS(BUILD_CC, gcc cc)
> fi
> AC_SUBST(cross_compiling)
I think that kind of solution would suffice. But I prefer to getting
rid of the embedded C program, if possible. As the comment says, that
was a workaround for buggy ``sed'' implementations, but there might be
a better way (e.g. using awk?).
Thanks,
Okuji