Ian Lance Taylor wrote:
> 
>    Date: Tue, 25 Apr 2000 16:30:50 +0200
>    From: Ralf Corsepius <[EMAIL PROTECTED]>
> 
>    > Autoconf defines cross-compiling as the situation when you cannot run
>    > executables that you compile. I.e.
>    Which is a fault, IMHO.
> 
> I think that is reasonable.
> 
> autoconf should also conclude that it is cross-compiling if $build !=
> $host.  This can be determined when running AC_CANONICAL_SYSTEM.  If
> $build != $host, then autoconf should set the cross_compiling shell
> variable.

I've been follwing this thread with some interest but I still do not
quite understand the need for the $build variable (outside of Canadian
cross-compiling, that is).  In the Mozilla project, I chose to use $host
!= $target to be indicative of a cross-compiled build.  Because of
existing limitations, you also have to set CROSS_COMPILE=1 but that env
variable will go away when the limitations do.   When would it be valid
to have $host = $target and still be cross-compiling?

- cls

Reply via email to