This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add --with-cross configure option to force -DCROSS_COMPILE behavior
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: dkegel at ixiacom dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 2 Jun 2003 21:30:58 -0400
- Subject: Re: [PATCH] Add --with-cross configure option to force -DCROSS_COMPILE behavior
- References: <3EDBD8E4.6030102@ixiacom.com> <200306030103.h5313xg26112@greed.delorie.com>
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