On Thu, 2009-06-11 at 10:21 -0500, Jon Loeliger wrote: > So I'm proposing to introduce a two-layer build where the > top-level Makefile will introduce a "host/" and a "target/" > sub-directory build for each environment. If the build > is not a cross-build, no "target/" build happens and it > all gets built in "host/" only. The C files and sources > all stay in the current top-level directory, and will be > referenced and built into the host/ and target/ through > Makefile fidgery sub-directories. This sounds too complicated. No other popular software does it, yet somehow it can be cross-compiled. I'm not talking about such software as kernels, compilers and other tools that need to know specific characteristics of the target. Please check the sources of buildroot (http://buildroot.uclibc.org/) to see how it manages to cross-compile a lot of programs that don't do anything specific to support cross-compilation. Sometimes minimal patches are needed, but nothing nearly as intrusive as your proposal. -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html