Main /
GCCBelow are my notes about building GCC under Red Hat I want to build wget http://www.netgull.com/gcc/releases/gcc-4.8.0/gcc-4.8.0.tar.gz tar -zxf gcc-4.8.0.tar.gz ln -s gcc-4.8.0 gcc cd gcc contrib/download_prerequisites wget ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.11.1.tar.bz2 tar -jxf isl-0.11.1.tar.bz2 ln -s isl-0.11.1 isl wget ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.0.tar.gz tar -zxf cloog-0.18.0.tar.gz ln -s cloog-0.18.0 cloog wget ftp://sourceware.org/pub/java/ecj-latest.jar mv ecj-latest.jar ecj.jar cd .. mkdir objdir cd objdir ../gcc/configure --enable-threads=posix --prefix=/usr/local/gcc-4.8.0 --enable-shared --enable-languages=c++,java --with-ecj-jar=/home/cxh/src/gcc/ecj.jar make bootstrap >& boot.out Problemsgcj: error trying to exec 'ecj1': execvp: No such file or directorySolution: download ecj-latest.jar, rename it and reconfigure and rebuild |