|
|
发表于 2004-11-25 23:44:40
|
显示全部楼层
我的也是,为什么?
-bash-3.00$ make BOOT_LDFLAGS="-static" bootstrap
/bin/sh: -c: line 0: syntax error near unexpected token `cd'
/bin/sh: -c: line 0: `dir=`echo all-libiberty | sed -e 's/all-//'`; if [ -f ./${dir}/Makefile ] ; then r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-3.3.1; ${PWDCMD-pwd}`; export s; @SET_LIB_PATH@ (cd ${dir}; make "AR_FLAGS=rc" "AR_FOR_TARGET=` if [ -f $r/binutils/ar ] ; then echo $r/binutils/ar ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo ar; else t=''; echo ar | sed -e 's/x/x/' $t ; fi; fi`" "AS_FOR_TARGET=` if [ -f $r/gas/as-new ] ; then echo $r/gas/as-new ; elif [ -f $r/gcc/xgcc ]; then @CC_FOR_TARGET@ -print-prog-name=as ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo as; else t=''; echo as | sed -e 's/x/x/' $t ; fi; fi`" "BISON=`if [ -f $r/bison/bison ] ; then echo $r/bison/bison -L $s/bison/ ; else echo bison ; fi`" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=@CC_FOR_TARGET@" "CFLAGS=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2" "GCJ_FOR_TARGET=@GCJ_FOR_TARGET@" "CXX_FOR_BUILD=c++" "CXXFLAGS=-g -O2" "CXXFLAGS_FOR_TARGET=-g -O2 -D_GNU_SOURCE" "CXX_FOR_TARGET=@CXX_FOR_TARGET@" "DESTDIR=" "DLLTOOL_FOR_TARGET=` if [ -f $r/binutils/dlltool ] ; then echo $r/binutils/dlltool ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo dlltool; else t=''; echo dlltool | sed -e 's/x/x/' $t ; fi; fi`" "INSTALL=/bin/sh $s/install-sh -c" "INSTALL_DATA=/bin/sh $s/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh $s/install-sh -c " "INSTALL_SCRIPT=/bin/sh $s/install-sh -c" "LDFLAGS=" "LEX=`if [ -f $r/flex/flex ] ; then echo $r/flex/flex ; else echo flex ; fi`" "LD_FOR_TARGET=` if [ -f $r/ld/ld-new ] ; then echo $r/ld/ld-new ; elif [ -f $r/gcc/xgcc ]; then @CC_FOR_TARGET@ -print-prog-name=ld ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo ld; else t=''; echo ld | sed -e 's/x/x/' $t ; fi; fi`" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LIBCXXFLAGS_FOR_TARGET=-g -O2 -D_GNU_SOURCE -fno-implicit-templates" "M4=`if [ -f $r/m4/m4 ] ; then echo $r/m4/m4 ; else echo m4 ; fi`" "MAKE=make" "MAKEINFO=`if [ -f $r/texinfo/makeinfo/makeinfo ] ; then echo $r/texinfo/makeinfo/makeinfo ; else if (makeinfo --version | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; then echo makeinfo; else echo $s/missing makeinfo; fi; fi` --no-split" "NM_FOR_TARGET=` if [ -f $r/binutils/nm-new ] ; then echo $r/binutils/nm-new ; elif [ -f $r/gcc/xgcc ]; then @CC_FOR_TARGET@ -print-prog-name=nm ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo nm; else t=''; echo nm | sed -e 's/x/x/' $t ; fi; fi`" "RANLIB_FOR_TARGET=` if [ -f $r/binutils/ranlib ] ; then echo $r/binutils/ranlib ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then if [ x'' != x ]; then echo ; else echo ranlib; fi; else t=''; echo ranlib | sed -e 's/x/x/' $t ; fi; fi`" "RPATH_ENVVAR=@RPATH_ENVVAR@" "SHELL=/bin/sh" "EXPECT=`if [ -f $r/expect/expect ] ; then echo $r/expect/expect ; else echo expect ; fi`" "RUNTEST=`if [ -f $s/dejagnu/runtest ] ; then echo $s/dejagnu/runtest ; else echo runtest ; fi`" "RUNTESTFLAGS=" "TARGET_SUBDIR=@target_subdir@" "WINDRES_FOR_TARGET=` if [ -f $r/binutils/windres ] ; then echo $r/binutils/windres ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo windres; else t=''; echo windres | sed -e 's/x/x/' $t ; fi; fi`" "YACC=`if [ -f $r/bison/bison ] ; then echo $r/bison/bison -y -L $s/bison/ ; elif [ -f $r/byacc/byacc ] ; then echo $r/byacc/byacc ; else echo bison -y ; fi`" "bindir=/tools/bin" "datadir=/tools/share" "exec_prefix=/tools" "includedir=/tools/include" "infodir=/tools/info" "libdir=/tools/lib" "libexecdir=/tools/libexec" "lispdir=" "libstdcxx_incdir=" "libsubdir=/tools/lib/gcc-lib/i686-pc-linux-gnu/3.3.1" "localstatedir=/tools/var" "mandir=/tools/man" "oldincludedir=/usr/include" "prefix=/tools" "sbindir=/tools/sbin" "sharedstatedir=/tools/com" "sysconfdir=/tools/etc" "tooldir=/tools/i686-pc-linux-gnu" "build_tooldir=/tools/i686-pc-linux-gnu" "gxx_include_dir=@gxx_include_dir@" "gcc_version=3.3.1" "gcc_version_trigger=/mnt/lfs/sources/gcc-3.3.1/gcc/version.c" "target_alias=i686-pc-linux-gnu" 'AR=ar' 'AS=as' 'CC=gcc' 'CXX=c++' 'DLLTOOL=dlltool' 'LD=ld' 'NM=nm' "`echo 'RANLIB=' | sed -e s/.*=$/XFOO=/`" 'WINDRES=windres' all); else true; fi'
make: *** [all-libiberty] Error 2 |
|