This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Does libstdc++ v3 not work with Canadian crosses?
On Wed, Jun 27, 2001 at 10:42:07AM -0700, Benjamin Kosnik wrote:
> > So --with-cross-host is passed automatically only if host != target.
> > The problem is that if --with-cross-host is not passed, the xcompiling=1
> > and NATIVE=0 block in libstdc++'s configure.in is never reached. We try to
> > run mknumeric_limits. It fails, because it was compiled for the target. We
> > lose.
>
> I've built canadian crosses and host-x-host crosses before. How are you
> configuring (exactly)?
Are you sure you've done this? :)
There's an error in the configure.in, even if one got past my problem:
# If Canadian cross, then don't pick up tools from the build
# directory.
if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
CANADIAN=yes
NULL_TARGET=yes
else
CANADIAN=no
NULL_TARGET=no
fi
There'd better be a "test" after that "&&" unless my installed shells
have diverged from everyone else's.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer