问题描述
- 构建gcc freestanding工具链出现问题
-
我使用如下命令进行安装$../gcc-4.7.2/configure --prefix=$CROSS_GCC_TMP --target=$TARGET --with-sysroot=$SYSROOT --with-newlib --enable-languages=c --with-mpfr-include=/vita/build/gcc-4.7.2/mpfr/src --with-mpfr-lib=/vita/build/gcc-build/mpfr/src/.libs --disable-shared --disable-threads --disable-decimal-float --disable-libquadmath --disable-libmudflap --disable-libgomp --disable-nls --disable-libssp
$make make install
出现
/bin/bash ../../../gcc-4.7.2/libgcc/../mkinstalldirs /vita/cross-gcc-tmp/lib/gcc/i686-none-linux-gnu/4.7.2
/usr/bin/install -c -m 644 libgcc.a /vita/cross-gcc-tmp/lib/gcc/i686-none-linux-gnu/4.7.2/
/usr/bin/install: cannot stat 'libgcc.a': No such file or directory
make[2]: *** [install-leaf] Error 1
make[2]: Leaving directory/vita/build/gcc-build/i686-none-linux-gnu/libgcc'
/vita/build/gcc-build'
make[1]: *** [install-target-libgcc] Error 2
make[1]: Leaving directory
make: *** [install] Error 2