This is the mail archive of the mailing list for the libstdc++ project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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 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, 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

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]