X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs- X-Authentication-Warning: basis.Desk.nl: listserv set sender to owner-beastium-list AT basis DOT desk DOT nl using -f Date: Sun, 13 Dec 1998 13:48:23 -0600 (CST) From: Kurt Watkins Reply-To: Kurt Watkins To: beastium-list AT desk DOT nl Subject: pgcc-1.1.1 build problems :-( Message-ID: Organization: Howard Hughes Medical Institute MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-beastium-list AT basis DOT Desk DOT nl Status: RO Content-Length: 2500 Lines: 54 Maybe somemeone can see something here that I'm missing... I'm building pgcc-1.1.1 on a Linux 2.1.131/libc5 system. No problems building or using egcs-1.1.1. After applying the egcs->pgcc patch and configuring the build tree, a 'make bootstrap' ultimately fails with a sytax error. A simple 'make' fails with the same syntax error, attached below. (I don't see anything wrong with the file, though there's a nest of directives to chase through..) The gcc used in the build below is egcs-1.1.1 and I'm about to go back and try using gcc-2.7.2.3. [The egcs-1.1.1-pgcc-1.1.1.diff.gz at goof.com appears to have some *.orig files included in it but that doesn't seem to be the issue.] Observations and hints much appreciated... K. % cd objdir % configure .... % make [big snip] if [ ${name}.asm = ${file} ]; then \ cp ${file} ${name}.s || exit 1; file=${name}.s; \ else true; fi; \ /usr/src/build/pgcc-1.1.1-objdir/gcc/xgcc -B/usr/src/build/pgcc-1.1.1-objdir/gcc/ -O2 -DIN_GCC -DUSE_GNULIBC_1 -g -I./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I/home/watkins/src/egcs/pgcc-1.1.1/gcc -I/home/watkins/src/egcs/ pgcc-1.1.1/gcc/config -c ${file}; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ ar rc tmplibgcc2.a ${oname}.o; \ rm -f ${name}.s ${oname}.o; \ fi; \ done /home/watkins/src/egcs/pgcc-1.1.1/gcc/frame make[2]: Entering directory `/usr/src/build/pgcc-1.1.1-objdir/gcc' CONFIG_HEADERS=auto-host.h:config.in /bin/sh config.status creating Makefile creating cp/Makefile creating f/Makefile creating auto-host.h Merged x-linux. Merged t-linux and t-linux-gnulibc1 and i386/t-crtstuff. Created `objc/Makefile'. gcc -c -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -I. -I/home/watkins/src/egcs/pgcc-1.1.1/gcc -I/home/watkins/src/egcs/pgcc-1.1.1/gcc/config /home/watkins/src/egcs/pgcc-1.1.1/gcc/genattr.c In file included from /home/watkins/src/egcs/pgcc-1.1.1/gcc/config/i386/linux.h:28, from tm.h:2, from /home/watkins/src/egcs/pgcc-1.1.1/gcc/config/i386/xm-i386.h:43, from hconfig.h:2, from /home/watkins/src/egcs/pgcc-1.1.1/gcc/genattr.c:23: /home/watkins/src/egcs/pgcc-1.1.1/gcc/config/i386/i386.h:57: syntax error before `struct' make[2]: *** [genattr.o] Error 1 make[2]: Leaving directory `/usr/src/build/pgcc-1.1.1-objdir/gcc' make[1]: *** [libgcc2.a] Error 1 make[1]: Leaving directory `/usr/src/build/pgcc-1.1.1-objdir/gcc' make: *** [all-gcc] Error 2