Hello.
Something is wrong when I try to compile GPC. Can anyone helps me ? I have downloaded gcc-2.8.1, gpc-19990118, # patch -s -p1 < p/diffs/gcc-2.8.1.diff (without any messages) # ./configure # make LANGUAGES=pascal Last statement produce message "`all' not remade because of errors". Why? See session log as attachment.
Thanks in advance, Konstantin
main# pwd /usr/src/gnu/gcc-2.8.1 main# ./configure loading cache ./config.cache checking host system type... i386-unknown-freebsd2.2.8 checking target system type... i386-unknown-freebsd2.2.8 checking build system type... i386-unknown-freebsd2.2.8 checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for mawk... (cached) awk checking for flex... (cached) flex checking for yywrap in -lfl... (cached) yes checking for ranlib... (cached) ranlib checking for bison... (cached) bison -y checking for a BSD compatible install... (cached) /usr/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for limits.h... (cached) yes checking for stddef.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for time.h... (cached) yes checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/times.h... (cached) yes checking for inttypes.h... (cached) no checking for strerror... (cached) yes checking for putenv... (cached) yes checking for popen... (cached) yes checking for vprintf... (cached) yes checking for bcopy... (cached) yes checking for bzero... (cached) yes checking for bcmp... (cached) yes checking for index... (cached) yes checking for rindex... (cached) yes checking for kill... (cached) yes checking for getrlimit... (cached) yes checking for setrlimit... (cached) yes checking for sysconf... (cached) yes checking whether malloc must be declared... (cached) no checking whether realloc must be declared... (cached) no checking whether calloc must be declared... (cached) no checking whether free must be declared... (cached) no checking whether index must be declared... (cached) no checking whether rindex must be declared... (cached) no checking whether getenv must be declared... (cached) no checking whether sbrk must be declared... (cached) no checking for sys_siglist declaration in signal.h or unistd.h... (cached) yes Using `./config/i386/i386.c' to output insns. Using `./config/i386/i386.md' as machine description file. Using `./config/i386/freebsd.h' as target machine macro file. Using `./config/i386/xm-i386.h' as host machine macro file. Using `./objc/thr-single.c' as Objective-C Runtime thread file. Links are now set up to build a native compiler for i386-unknown-freebsd2.2.8 updating cache ./config.cache creating ./config.status creating Makefile creating cp/Makefile creating auto-config.h auto-config.h is unchanged Merged i386/t-freebsd. Created `objc/Makefile'. Merged i386/t-freebsd. Created `p/Makefile'.
main# make LANGUAGES=pascal gcc -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config -DGCC_INCLUDE_DIR=` gcc -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config -DPREFIX="/usr/loc` gcc -DIN_GCC -g -DHAVE_CONFIG_H -o cccp cccp.o cexp.o prefix.o version.o rm -f cpp ln cccp cpp > /dev/null 2>&1 || cp cccp cpp /bin/sh ./genmultilib "" "" "" "" "" > tmp-mlib.h ./move-if-change tmp-mlib.h multilib.h multilib.h is unchanged touch s-mlib gcc -DGPC -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config -DGPC_MAJOR=o gcc -DGPC -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config -DGPC_TIME="\o gcc -DIN_GCC -g -DHAVE_CONFIG_H -o xgpc p/gpc.o prefix.o p/version.o cho gcc -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config -DSTANDARD_STARTFIL` gcc -DIN_GCC -g -DHAVE_CONFIG_H -o xgcc gcc.o prefix.o version.o choose- rm -f tmplibgcc1.a for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _lshrsi3 _ashrsi3 _ashlse _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _lshrsi3 _ashrsi3 _ashlsi3 _divdf3 _muldf3 _negdf2 _adddf3 _subdf3 _fixdfsi _fixsfsi _floatsidf _floatsisf _truncdfsf2 _extendsfdf2 _addsf3 _negsf2 _subsf3 _mulsf3 _divsf3 _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2 for file in .. ; do if [ x${file} != x.. ]; then name=`echo ${file} | sed -ee if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib tmplibgcc1.a; else tri mv tmplibgcc1.a libgcc1.a if [ -f libgcc2.ready ] ; then true; else touch libgcc2.ready; fi Graph cycles through pascal
rm -f include/float.h if [ -f /usr/include/float.h ] && if grep 'ifndef _FLOAT_H___' /usr/include/flc ./xgcc -B./ -DIN_GCC -g -I./include enquire.o -o enquire ./enquire -f > tmp-float.h grep '#define [^_]' tmp-float.h >/dev/null || true > tmp-float.h mv tmp-float.h float.h-nat rm -f gfloat.h cp float.h-nat gfloat.h rm -f include/float.h if [ -s gfloat.h ]; then cp gfloat.h include/float.h && chmod a+r include/floi touch stmp-headers ./xgcc -B./ -dumpspecs > tmp-specs mv tmp-specs specs gcc -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config -DSTANDARD_STARTFILc gcc -DIN_GCC -g -DHAVE_CONFIG_H -o g++ g++.o g++spec.o prefix.o version. echo "int xxy_us_dummy;" >tmp-dum.c ./xgcc -B./ -S tmp-dum.c echo '/*WARNING: This file is automatically generated!*/' >tmp-under.c if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then echo "int prepends_underscoi ./move-if-change tmp-under.c underscore.c underscore.c is unchanged rm -f tmp-dum.c tmp-dum.s touch s-under gcc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config underscore.c gcc -DIN_GCC -g -DHAVE_CONFIG_H obstack.o ` case "gcc" in "cc") echo "" ;o `all' not remade because of errors.