"No rule to make target" error when building gcc

Kevin Wilson wkevils@gmail.com
Sat Jun 6 13:09:00 GMT 2009


Hello,
I am trying to build a 32 bit gcc compiler on a 64 bit machine (Linux).

What I did is this:

Untarred gcc to gcc-4.1.2-20070925 folder (I used the gcc sources of
gcc-4.1.2-33.src.rpm)

create an empty build folder. from there I ran:

../gcc-4.1.2-20070925/configure --prefix=/work/tools/fc8_i386/gcc
  --enable-threads=posix --enable-languages=c --target=i686-linux
	
After some time it stops with this error:
make[2]: *** No rule to make target
`/work/tools/fc8_i386/gcc/bin/i686-linux-as', needed by `stamp-as'.
Stop.


Any ideas why ?
full log of the error is below:



for file in .. ../../gcc-4.1.2-20070925/gcc/ginclude/float.h
../../gcc-4.1.2-20070925/gcc/ginclude/iso646.h
../../gcc-4.1.2-20070925/gcc/ginclude/stdarg.h
../../gcc-4.1.2-20070925/gcc/ginclude/stdbool.h
../../gcc-4.1.2-20070925/gcc/ginclude/stddef.h
../../gcc-4.1.2-20070925/gcc/ginclude/varargs.h
../../gcc-4.1.2-20070925/gcc/config/i386/mmintrin.h
../../gcc-4.1.2-20070925/gcc/config/i386/mm3dnow.h
../../gcc-4.1.2-20070925/gcc/config/i386/xmmintrin.h
../../gcc-4.1.2-20070925/gcc/config/i386/emmintrin.h
../../gcc-4.1.2-20070925/gcc/config/i386/pmmintrin.h
../../gcc-4.1.2-20070925/gcc/config/i386/tmmintrin.h
../../gcc-4.1.2-20070925/gcc/config/i386/ammintrin.h mm_malloc.h; do \
          if [ X$file != X.. ]; then \
            realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
            echo timestamp > include/$realfile; \
            rm -f include/$realfile; \
            cp $file include; \
            chmod a+r include/$realfile; \
          fi; \
        done
rm -f include/limits.h
cp xlimits.h include/limits.h
cp ../../gcc-4.1.2-20070925/gcc/unwind-generic.h include/unwind.h
chmod a+r include/limits.h
rm -f include/README
cp ../../gcc-4.1.2-20070925/gcc/../fixincludes/README-fixinc include/README
chmod a+r include/README
echo timestamp > stmp-int-hdrs
make[2]: *** No rule to make target
`/work/tools/fc8_i386/gcc/bin/i686-linux-as', needed by `stamp-as'.
Stop.
make[2]: Leaving directory `/usr/src/redhat/BUILD/gcc-4.1.2-20070925Build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/gcc-4.1.2-20070925Build'
make: *** [all] Error 2


Regards,
Kevin



More information about the Gcc-help mailing list