[PATCH] Add --with-cross configure option to force -DCROSS_COMPILE behavior

Daniel Jacobowitz drow@mvista.com
Tue Jun 3 01:31:00 GMT 2003


On Mon, Jun 02, 2003 at 09:03:59PM -0400, DJ Delorie wrote:
> 
> Isn't this what the sysroot patches were for?

Yes, absolutely.  That should be used instead.  It does require that
$build != $target, but:

> Note that you can also tweak the --host parameter in subtle ways, like
> "--host=i386-pc-linux --target=i686-pc-linux"

Or even subtler:
  --host=i686-buildhost-linux --target=i686-pc-linux
then later:
  --build=i686-buildhost-linux --host=i686-pc-linux

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-patches mailing list