Hello. At compiling gcc-4.3.0 with ../gcc-4.3.0/./configure prefix=/ I get this error:
---------------------- ... checking whether the target asssembler upports thread-local storage... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: executing default commands Adding multilib support to Makefile in ../../../gcc-4.3.0/./libgcc multidirs= with_multisubdir= make[3]: Entering directory `/prog/GCC/build2/i686-pc-linux-gnu/libgcc' # If this is the top-level multilib, build all the other # multilibs. make[4]: Entering directory `/prog/GCC/build2/i686-pc-linux-gnu/libgcc' if [ -z "" ]; then true; else rootpre=`${PWDCMD-pwd}`/; export rootpre; srcrootpre=`cd ../../../gcc-4.3.0/./libgcc; ${PWDCMD-pwd}`/; export srcrootpre; lib=`echo "${rootpre}" | sed -e 's,^.*/([^/][^/]*)/$,1,'`; compiler="/prog/GCC/build2/./gcc/xgcc -B/prog/GCC/build2/./gcc/ -B//i686-pc-linux-gnu/bin/ -B//i686-pc-linux-gnu/lib/ -isystem //i686-pc-linux-gnu/include -isystem //i686-pc-linux-gnu/sys-include"; for i in `${compiler} --print-multi-lib 2>/dev/null`; do dir=`echo $i | sed -e 's/;.*$//'`; if [ "${dir}" = "." ]; then true; else if [ -d ../${dir}/${lib} ]; then flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; if (cd ../${dir}/${lib}; make "AR=//i686-pc-linux-gnu/bin/ar" "AR_FLAGS=rc" "CC=/prog/GCC/build2/./gcc/xgcc -B/prog/GCC/build2/./gcc/ -B//i686-pc-linux-gnu/bin/ -B//i686-pc-linux-gnu/lib/ -isystem //i686-pc-linux-gnu/include -isystem //i686-pc-linux-gnu/sys-include" "CFLAGS=-g -fkeep-inline-functions" "DESTDIR=" "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -c" "LDFLAGS=" "LOADLIBES=" "RANLIB=//i686-pc-linux-gnu/bin/ranlib" "SHELL=/bin/sh" "prefix=/" "exec_prefix=/" "libdir=//lib" "libsubdir=//lib/gcc/i686-pc-linux-gnu/4.3.0" "tooldir=//i686-pc-linux-gnu" CFLAGS="-g -fkeep-inline-functions ${flags}" CCASFLAGS=" ${flags}" FCFLAGS=" ${flags}" FFLAGS=" ${flags}" ADAFLAGS=" ${flags}" prefix="/" exec_prefix="/" GCJFLAGS=" ${flags}" CXXFLAGS="-g -O2 -D_GNU_SOURCE ${flags}" LIBCFLAGS="-g -fkeep-inline-functions ${flags}" LIBCXXFLAGS="-g -O2 -D_GNU_SOURCE -fno-implicit-templates ${flags}" LDFLAGS=" ${flags}" MULTIFLAGS="${flags}" DESTDIR="" INSTALL="/bin/install -c" INSTALL_DATA="/bin/install -c -m 644" INSTALL_PROGRAM="/bin/install -c" INSTALL_SCRIPT="/bin/install -c" all); then true; else exit 1; fi; else true; fi; fi; done; fi make[4]: Leaving directory `/prog/GCC/build2/i686-pc-linux-gnu/libgcc' /prog/GCC/build2/./gcc/xgcc -B/prog/GCC/build2/./gcc/ -B//i686-pc-linux-gnu/bin/ -B//i686-pc-linux-gnu/lib/ -isystem //i686-pc-linux-gnu/include -isystem //i686-pc-linux-gnu/sys-include -g -fkeep-inline-functions -O2 -O2 -g -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../../../gcc-4.3.0/./libgcc -I../../../gcc-4.3.0/./libgcc/. -I../../../gcc-4.3.0/./libgcc/../gcc -I../../../gcc-4.3.0/./libgcc/../include -I../../../gcc-4.3.0/./libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../gcc-4.3.0/./libgcc/../gcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS In file included from ../../../gcc-4.3.0/./libgcc/../gcc/libgcc2.c:33: ../../../gcc-4.3.0/./libgcc/../gcc/tsystem.h:90:19: error: stdio.h: No such file or directory ../../../gcc-4.3.0/./libgcc/../gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory ../../../gcc-4.3.0/./libgcc/../gcc/tsystem.h:96:19: error: errno.h: No such file or directory ../../../gcc-4.3.0/./libgcc/../gcc/tsystem.h:103:20: error: string.h: No such file or directory ../../../gcc-4.3.0/./libgcc/../gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory ../../../gcc-4.3.0/./libgcc/../gcc/tsystem.h:105:20: error: unistd.h: No such file or directory ../../../gcc-4.3.0/./libgcc/../gcc/tsystem.h:111:18: error: time.h: No such file or directory make[3]: *** [_muldi3.o] Error 1 make[3]: Leaving directory `/prog/GCC/build2/i686-pc-linux-gnu/libgcc' ... ---------------------- AMD Phenom 9850 Quad-Core Kernel-2.6.25 Target System:GNU-Linux compiled from source (latest tar balls) 32bit -> GCC-4.3.0 compiled with this error Compile System: Live DVD KNOPPIX 5.3 DVD Specials -> GCC-4.3.0 compiled with no error (gcc version 4.2.3) It seems to be a simple errror, but I can't figure out how to get make, gcc find these files. I can place these files where I want or edit tsystem.h, doesn't matter. At recompiling the booted target system all compiled pretty but not GCC. Many thanks Bastl