Adriaan van Os wrote:
Waldek Hebisch wrote:
I have put a new gpc snapshot at:
http://www.math.uni.wroc.pl/~hebisch/gpc-20070904.tar.bz2
This snaphshot contains mostly bugfixes. Main feature is that gcc-4.1.x support is now integrated.
Thanks for the snapshot !
NOTE: there is a change of licence: this snapshot uses GPL version 3.
For new features see:
http://www.math.uni.wroc.pl/~hebisch/gpc/NEWS-20070904
and for fixed bugs:
On darwin-i386, additional patches are needed to fix problems in the gcc-back-end. See the attached diff for gcc-4.1.2.
The snapshot builds without problems on i386-darwin with gcc-4.1.2.
However, after patching the Pascal front-end, I ran into
../../gcc-4.1.2/gcc/p/script/keywords2texi ../../gcc-4.1.2/gcc/p/predef.def ../../gcc-4.1.2/gcc/p/doc/generated/keyword.texi cd ../../gcc-4.1.2/gcc/p/rts && make -f Makefile.in srcdir=. GCC_VERSION="" SHELL="/bin/sh" CFLAGS="-g -O2 " PFLAGS="" AR_FLAGS="rc" RTSFLAGS="" DESTDIR="../.." AR="ar" RANLIB="ranlib -c" RANLIB_TEST="" generated-files version=`cat ./rts-version`; cd .; ./make-gpc-pas $version > "gpc.pas" || { rm -f "gpc.pas"; false; } /bin/sh: line 1: ./make-gpc-pas: Permission denied make[3]: *** [gpc.pas] Error 1 make[2]: *** [../../gcc-4.1.2/gcc/p/rts/gpc.pas] Error 2 make[1]: *** [all-gcc] Error 2 make: *** [all] Error 2
This is solved by setting executable rights
[p17:gcc/p/rts] adriaan% chmod +x make-gpc-pas
Supposedly the same has to be done for make-acconfig-h.m4 and make-rtsc-pas.
Regards,
Adriaan van Os