fixup canadian cross logic with in toplevel configure.in
Mike Frysinger
vapier@gentoo.org
Tue Apr 11 03:03:00 GMT 2006
On Monday 10 April 2006 22:53, Daniel Jacobowitz wrote:
> On Mon, Apr 10, 2006 at 10:43:43PM -0400, Mike Frysinger wrote:
> > unless i'm mistaken, canadian cross is when $build != $host ... if that's
> > the case, then the top level configure.in has a small typo where it tests
> > for $build = $host instead of $build != $host
>
> This is incorrect; please reread the comment above the if condition,
> and compare to what it's doing. The body is suppressed for build !=
> host, because it points to binaries for host.
indeed ... my original readings of the comments focused more on the last part
where i inverted the idea in my head ... oh well
related note (and what prompted me to look at this code in the first place),
the usage of -B$(build_tooldir)/lib in FLAGS_FOR_TARGET is multilib safe ?
seems like the other portions of gcc which insert -B flags (like
GCC_FOR_TARGET) take care in letting gcc itself generate the proper paths
rather than hardcoding the '/lib' subpath
-mike
More information about the Gcc-patches
mailing list