This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems building libstdc++-v3


edit the configure script directly, and stick a
  set -x
in it.  It helps to first read through the configure
script and see if you can figure out about where it's
fouling up, and do set -x not too far above that.
Otherwise you have to wade through too much crap...
- Dan

Mack Lobell wrote:
> 
> How do i turn on 'set -x'?
> 
> By the way, i get exactly the same result with gcc 3.1.1.
> 
> >From: Dan Kegel <dank@kegel.com>
> >To: Mack Lobell <macklobell@hotmail.com>
> >CC: crossgcc@sources.redhat.com
> >Subject: Re: Problems building libstdc++-v3
> >Date: Sun, 22 Sep 2002 08:08:53 -0700
> >
> >Mack Lobell wrote:
> > > I'm trying to build a crosscompiler, target=powerpc-eabi and host is
> >cygwin.
> > > Everything works and installs fine (i.e. binutils, newlib and bootstrap
> >gcc)
> > > to the final compiler build. It always fail during configuration of
> > > libstdc++-v3, see trace below.
> > >
> > > cat config.status
> > > #!/bin/sh
> > > # This file was generated automatically by configure.  Do not edit.
> > > # This directory was configured as follows:
> > > ../../src/gcc-3.2/configure
> > > --with-gcc-version-trigger=/home/lobell/src/gcc-3.2/gcc/version.c
> > > --host=i686-pc-cygwin --prefix=/usr/local/powerpc --target=powerpc-eabi
> > > --with-gnu-ld --with-gnu-as --disable-nls --enable-languages=c,c++
> > > --norecursion
> > > ...
> > > checking for object suffix... configure: error: installation or
> > > configuration problem; compiler does not work
> > > make: *** [configure-target-libstdc++-v3] Error 1
> >
> >Can you turn on 'set -x' in configure to see what commands it's running
> >when it fails?  I've had a few configure problems with gcc (and gcc
> >under cygwin),
> >but digging into the details always ended up showing me how to fix it
> >(even though I'm not an expert with gcc).
> >- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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