------- Comment #2 from yves dot caniou at ens-lyon dot fr 2010-04-20 03:15 ------- (In reply to comment #1) > (In reply to comment #0) > > Dear All, > > > > I want to compile gcc-4.5.0 on a Quad-Core AMD Opteron(tm) Processor 8356 > > in my > > user repository. > > The compiler is gcc version 4.1.2 20070626 (Red Hat 4.1.2-14). > > I think that I correctly installed all(?) the needed lib to compile > > gcc-4.5.0. > > But I issue the following error to the "$>make install" command > > /bin/sh: line 3: cd: host-x86_64-unknown-linux-gnu/fixincludes: No such > > file or > > directory > > > > Here's the output of configure made immediately before: > > ------- > > $>./configure --prefix=$HOME/gcc --with-gmp=$HOME/gmp --with-mpfr=$HOME/mpfr > > Builds in the source dir itself are not supported. Just mkdir a separate > objdir somewhere and in the objdir do /path/to/gcc/configure ... >
I tried a make distclean (and got the same error), then a "rm -rf of the gcc-4.5.0 + tar xjvf", with your solution with the configure line as suggested: $>../gcc-4.5.0/configure --prefix=$HOME/gcc --with-gmp=$HOME/gmp --with-mpfr=$HOME/mpfr --with-mpc=$HOME/mpc --enable-lto --with-ppl=$HOME/ppl --with-libelf=$HOME/libelf --with-cloog=$HOME/cloog-ppl I still have the error: gcc>make install make[1]: Entering directory `$HOME/Bin/gcc' /bin/sh ../gcc-4.5.0/mkinstalldirs $HOME/gcc $HOME/gcc /bin/sh: line 3: cd: ./fixincludes: No such file or directory make[1]: *** [install-fixincludes] Error 1 make[1]: Leaving directory `$HOME/Bin/gcc' make: *** [install] Error 2 .Yves. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43795