[deep-devel] gcc build

  • From: Roman <skolot@xxxxxxxxxxx>
  • To: deep-devel@xxxxxxxxxxxxx
  • Date: Mon, 30 Jan 2006 19:53:20 +0200

ÐÐ ÑÐÑÐÑÐÐÑ ÐÐ ÐÐÐÐÐÑ ÐÑÐÑÐÐÐÐ ÐÐÑÑÐÐ 
ÐÐÐÐÐ ÑÐÐÑÑ ÐÑÐÐÐÐÐÑ ÑÐ ÑÐÐÑÐÐÐ gcc

binutils
configure --prefix=/tools --disable-nls --disable-shared --enable-64bit-bdf 
--disable-multilib
make configure-host
make LDFLAGS="-all-static"
make install
make -C ld clean
make -C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib

gcc
configure --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools 
--disable-nls --enable-shared --enable-languages=c --disable-multilib 
--disable-thread
make BOOT_LDFLAGS="-static" bootstrap

ÑÐÐÐÐ gcc ÐÑÐÑÐÐÐÐÐÑÑÑÑ

stage1/xgcc -Bstage1/ -B/tools/x86_64-unknown-linux-gnu/bin/   -g -O2 -DIN_GCC  
 
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long -Wno-variadic-macros -Wold-style-definition 
-Wmissing-format-attribute     -DHAVE_CONFIG_H -DGENERATOR_FILE -static -o 
build/genmodes \
build/genmodes.o 
build/errors.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
/tools/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [build/genmodes] Error 1
make[2]: Leaving directory `/mnt/distr/home/distr/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/distr/home/distr/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2

ÑÐÐÑÐÑ ÐÑÐÑ ÐÑÐÐÑÑ ÐÐÐ ÐÐÑÐÐÑÐÑÑ... 
ÑÐÐÑÐÐÑÑÐÐÐÐÐ ÐÐÑ ÐÐÑÐÑ ÐÑÐÐÐÐÐÐÐÐÐ

Other related posts: