>>>>> "cls" == Christopher Seawood <[EMAIL PROTECTED]> writes:

cls> In the Mozilla project, I chose to use $host != $target to be
cls> indicative of a cross-compiled build.

This is already wrong, because target is only meaningful for a
compiler or some other part of a toolchain.  Mozilla is a so-called
"host tool" -- its configure script should only care about host and
build.

build: where you run configure
host: where you run the program you built (e.g., Mozilla or gcc)
target: where you generate code for (gcc) or what you debug (gdb)

cls> When would it be valid to have $host = $target and still be
cls> cross-compiling?

A while back I had to do some work on Windows.  I built my
Windows-native gcc on Linux by using --build=linux, --host=cygwin, and
--target=cygwin.  The result was a gcc executable which ran on Windows
and which generated Windows executables.

Tom

Reply via email to