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]

RE: another build failure


hi,
i think if you search for "LIBIBERTY_DIR = ../libiberty" in the Makefile of
../build-gcc-2.95.3/mips-elf/libstdc++' directory and change it to 
"LIBIBERTY_DIR = ../../libiberty" (see the addition of ../) the error will
go of.


-----Original Message-----
From: William A. Gatliff [mailto:bgat@saturn.billgatliff.com]
Sent: Thursday, November 01, 2001 9:14 AM
To: David Taffs
Cc: gcc cross compiler list
Subject: Re: another build failure


David:


If you don't need C++ support, change the "--enable-languages=c,c++"
to just "--enable-languages=c".  It doesn't fix the problem, it just
goes around it.  :^)

Oh, blow away the contents of your build-gcc directory before doing
this.  You don't have to repeat the bootstrap build, just pick up
right after building newlib.


b.g.

On Wed, Oct 31, 2001 at 07:18:16PM -0800, David Taffs wrote:
> Ok, I found Bill Gatliff's instructions at
> http://www.billgatliff.com/articles/gnu/gnu-arm7t/x56.html, and used his
> versions of everything and followed the instructions exactly, for
> target=mips-elf and prefix=/usr/local/gcc-2-95-3/, and got the following
> failure rebuilding gcc the 2nd time (the first seemed to work ok).
> 
> Here's the end of make.log:
> 
> /usr/gcc-2-95-3/source-repository/build-gcc-2.95.3/gcc/xgcc
-B/usr/gcc-2-95-3/
> source-repository/build-gcc-2.95.3/gcc/
-B/usr/local/gcc-2-95-3//mips-elf/bin/
>  -c -g -O2 -fno-implicit-templates -I../../../gcc-2.95.3/libstdc++
-I../../../
> gcc-2.95.3/libstdc++/stl -I../libio
-I../../../gcc-2.95.3/libstdc++/../libio -
> nostdinc++  -DLD `for N in EXTRACT INSERT; do echo " -D${N}"; done` \
>   ../../../gcc-2.95.3/libstdc++/cinst.cc -o ldcomio.o
> touch bigstmp-complx
> cd ../libiberty ; make "SHELL=/bin/sh" "INSTALL=/bin/sh
> /usr/gcc-2-95-3/source-repository/gcc-2.95.3/install-sh -c"
> "INSTALL_DATA=/bin/sh
> /usr/gcc-2-95-3/source-repository/gcc-2.95.3/install-sh -c -m 644"
> "INSTALL_PROGRAM=/bin/sh
> /usr/gcc-2-95-3/source-repository/gcc-2.95.3/install-sh -c "
> "prefix=/usr/local/gcc-2-95-3/" "exec_prefix=/usr/local/gcc-2-95-3/"
> "tooldir=/usr/local/gcc-2-95-3//mips-elf"
> "gxx_include_dir=/usr/local/gcc-2-95-3//include/g++-3"
> "libsubdir=/usr/local/gcc-2-95-3//lib/gcc-lib/mips-elf/2.95.3"
> "gcc_version=2.95.3"
>
"gcc_version_trigger=/usr/gcc-2-95-3/source-repository/gcc-2.95.3/gcc/versio
n.
> c" "AR=mips-elf-ar" "AR_FLAGS=rc"
> "CC=/usr/gcc-2-95-3/source-repository/build-gcc-2.95.3/gcc/xgcc
-B/usr/gcc-2-9
> 5-3/source-repository/build-gcc-2.95.3/gcc/
-B/usr/local/gcc-2-95-3//mips-elf/
> bin/"
> "CXX=/usr/gcc-2-95-3/source-repository/build-gcc-2.95.3/gcc/xgcc
-B/usr/gcc-2-
> 95-3/source-repository/build-gcc-2.95.3/gcc/
-B/usr/local/gcc-2-95-3//mips-elf
> /bin/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=mips-elf-nm"
> "RANLIB=mips-elf-ranlib" "LIBCFLAGS=-g -O2"
> "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS="
>
"MAKEINFO=/usr/gcc-2-95-3/source-repository/build-gcc-2.95.3/texinfo/makeinf
o/
> makeinfo " "SHLIB=libstdc++.so.2.10.0" "SHCURSES=" "RUNTESTFLAGS="
> make[2]: Entering directory
> `/usr/gcc-2-95-3/source-repository/build-gcc-2.95.3/mips-elf/libiberty'
> make[2]: *** No targets.  Stop.
> make[2]: Leaving directory
> `/usr/gcc-2-95-3/source-repository/build-gcc-2.95.3/mips-elf/libiberty'
> make[1]: *** [../libiberty/libiberty.a] Error 2
> make[1]: Leaving directory
> `/usr/gcc-2-95-3/source-repository/build-gcc-2.95.3/mips-elf/libstdc++'
> make: *** [all-target-libstdc++] Error 2
> 
> 
> --
> regards, david taffs
> 360.449.8816
> dtaffs@xyronsemi.com
> www.xyronsemi.com
> 
> 
> 
> 
> ------
> Want more information?  See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
> 

-- 
Bill Gatliff
bgat@billgatliff.com

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

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


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