Waldek Hebisch wrote:
Adriaan van Os wrote:
GCC-3.4 has been released. Any news on these issues ?
There are experimental patches on my gpc Web page. The last time I checked patched gpc worked quite well on i386 Linux (all tests passed) and on AMD64 (two tests failed). Matthias Klose tried some other Linux platforms -- on MIPS build failed the other have similar results as 3.3.
Thanks for the patches. With some offsets, the diffs apply all.
When building gpc-20030830 with gcc-3.4, I get the following error:
rm -f ../../libgpc.a ar rc ../../libgpc.a rts.o file.o rts-va.o rtsc.o string.o error.o string2.o time.o random.o filename.o files.o getopt.o numtodec.o sets.o heap.o math.o endian.o move.o init.o gpc.o if ; then ranlib -c ../../libgpc.a; else true; fi /bin/sh: -c: line 1: syntax error near unexpected token `;' /bin/sh: -c: line 1: `if ; then ranlib -c ../../libgpc.a; else true; fi' make[2]: [../../libgpc.a] Error 2 (ignored) ../../gpc-3.4.0/gcc/p/script/mkdir-p p/utils srcdir=`cd ../../gpc-3.4.0/gcc && pwd` && cd ./p/utils && make -f "$srcdir/p/utils/Makefile" SHELL="/bin/sh" PC="`if [ x"powerpc-apple-darwin" = x"powerpc-apple-darwin" ]; then echo ./xgpc -B./' '; else echo gcc | sed 's, *$,,;s,^([^ ]*[/][^/]*)gcc,\1gpc,;s/^gcc$/gpc/;s/$/ /' ; fi | sed -e 's,(-[BI])([^/][^:]),\1../../\2,g;s,^([^/][^:]*/),../../\1,'` -I../rts" CFLAGS="-g -O2" PFLAGS="" exeext="" INSTALL_PROGRAM="/usr/bin/install -c" INSTALL_DATA="/usr/bin/install -c -m 644" BUILD="powerpc-apple-darwin" HOST="powerpc-apple-darwin" GCC_DIR="$srcdir" all ../.././xgpc -B../.././ -I../rts -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 --executable-path=. --unit-path=/Users/adriaan/gnu/gcc-3.4-stuff/gpc-3.4.0/gcc/p/rts --unit-path=/Users/adriaan/gnu/gcc-3.4-stuff/gpc-3.4.0/gcc/p/units --print-needed-options "/Users/adriaan/gnu/gcc-3.4-stuff/gpc-3.4.0/gcc/p/utils/binobj.pas" 2> "needed-options" || true if grep -v '^--' "needed-options" > /dev/null; then echo "needed-options: `cat "needed-options"`" >&2; rm -f "needed-options"; false; else true; fi ../.././xgpc -B../.././ -I../rts --automake --executable-file-name -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 --executable-path=. --unit-path=/Users/adriaan/gnu/gcc-3.4-stuff/gpc-3.4.0/gcc/p/rts --unit-path=/Users/adriaan/gnu/gcc-3.4-stuff/gpc-3.4.0/gcc/p/units `cat needed-options` "/Users/adriaan/gnu/gcc-3.4-stuff/gpc-3.4.0/gcc/p/utils/binobj.pas" /usr/bin/ld: archive: ../.././libgpc.a has no table of contents, add one with ranlib(1) (can't load from it) collect2: ld returned 1 exit status make[2]: *** [binobj] Error 1 make[1]: *** [pascal.utils] Error 2 make: *** [all-gcc] Error 2
Regards,
Adriaan van Os