[PATCH] Add --with-cross configure option to force -DCROSS_CO MPILE behavior
Dan Kegel
dkegel@ixiacom.com
Tue Jun 3 20:05:00 GMT 2003
The sysroot patches look completely orthogonal to this issue.
I looked at them, and they have seem to no effect on whether a
cross-compiler is built. I'm a bit confused about how they relate to this
issue.
If you say playing with --host and --target can do the job, ok,
I'll go give that a shot.
Thanks,
Dan
-----Original Message-----
From: Daniel Jacobowitz
To: DJ Delorie
Cc: dkegel@ixiacom.com; gcc-patches@gcc.gnu.org
Sent: 02.06.2003 18:30
Subject: Re: [PATCH] Add --with-cross configure option to force
-DCROSS_COMPILE behavior
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