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]

GCC cross compiler build problem


Im trying to build a powerPC cross compiler under cygwin and can't seem to get past this point.
The GCC host compiler is working, I can build and run PC console programs.
 
The following is the shell script im using based on the attached how-to. The configure scripts all seem to run OK.
The make for the GCC fails. (see make.log below)
 
Ive tried 2.95.2 and 2.95.3 versions.
   
# these values are set in .bash_profile
# host=i686-pc-cygwin       
# build=i686-pc-cygwin      
# src_root=/usr/local/src/gnu
# target=powerpc-eabi
# prefix=/usr/local/powerpc
# PATH=$PATH:$prefix/bin
#
 
cd $src_root/BUILD/binutils
$src_root/binutils-2.12.1/configure --with-included-gettext --target=$target --prefix=$prefix -v 2>&1
make > make.log 2>&1
make install > install.log 2>&1
 
cd $src_root/BUILD/gcc
$src_root/gcc-2.95.2/configure --enable-languages=c,c++ --with-included-gettext --enable-shared --enable-threads --target=$target --prefix=$prefix -v 2>&1
make LANGUAGES=c all-gcc > make.log 2>&1
mv make.log make-c-only.log
make LANGUAGES=c install-gcc > install.log 2>&1
mv install.log install-c-only.log
 
cd $src_root/BUILD/newlib
$src_root/newlib-1.10.0/configure --target=$target --prefix=$prefix -v 2>&1
make > make.log 2>&1
make install > install.log 2>&1
 
cd $src_root/BUILD/gcc
make > make.log 2>&1
make install > install.log 2>&1
Any help would be appreciated.
 
Don Russell
 
make.log
make[1]: Entering directory `/usr/local/src/gnu/BUILD/gcc/libiberty'
make[2]: Entering directory `/usr/local/src/gnu/BUILD/gcc/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/libiberty/testsuite'
make[1]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/libiberty'
make[1]: Entering directory `/usr/local/src/gnu/BUILD/gcc/texinfo'
make all-recursive
make[2]: Entering directory `/usr/local/src/gnu/BUILD/gcc/texinfo'
Making all in intl
make[3]: Entering directory `/usr/local/src/gnu/BUILD/gcc/texinfo/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/texinfo/intl'
Making all in lib
make[3]: Entering directory `/usr/local/src/gnu/BUILD/gcc/texinfo/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/texinfo/lib'
Making all in makeinfo
make[3]: Entering directory `/usr/local/src/gnu/BUILD/gcc/texinfo/makeinfo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/texinfo/makeinfo'
make[2]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/texinfo'
make[1]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/texinfo'
make[1]: Entering directory `/usr/local/src/gnu/BUILD/gcc/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/etc'
make[1]: Entering directory `/usr/local/src/gnu/BUILD/gcc/gcc'
(cd intl && make all)
make[2]: Entering directory `/usr/local/src/gnu/BUILD/gcc/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/gcc/intl'
./genattr /usr/local/src/gnu/gcc-2.95.2/gcc/config/rs6000/rs6000.md > tmp-attr.h
Expected character (.  Found character
.  At file position: 207
Following characters are:
 
;; This file is part of GNU CC.
 
 
 
;; GNU CC is free software; you can redistribute it and/or modify
 
;; it under the terms of the GNU General Public License as published by
 
;; the Free Software FouAborting.
genattr: Internal compiler error in `dump_and_abort', at /usr/local/src/gnu/gcc-2.95.2/gcc/rtl.c:539
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
make[1]: *** [s-attr] Error 33
make[1]: Leaving directory `/usr/local/src/gnu/BUILD/gcc/gcc'
make: *** [all-gcc] Error 2

Attachment: cygwin-to-newlib-cross-howto.txt
Description: Text document

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