Frank Heckenbach a écrit:
I have uploaded a new alpha version of GPC to http://www.gnu-pascal.de/alpha/.
I have compiled this alpha for djgpp 2.03p2.
One problem: due to change in autoconf version from 2.13 to 2.59 in the rts SYS_SIGLIST_DECLARED is replaced by HAVE_DECL_SYS_SYGLIST this caused a failure with message /dev/c/djgpp/b/gnu/gcc-3.23/gcc/p/rts/rts.c:241: conflicting types for `sys_siglist' c:/djgpp/include/signal.h:86: previous declaration of `sys_siglist'
this is corrected with the following diff
--- rts.c.orig 2005-02-15 03:19:54.000000000 +0000 +++ rts.c 2005-02-21 17:56:02.000000000 +0000 @@ -237,7 +237,7 @@
#if !defined (HAVE_STRSIGNAL) && !defined (strsignal) #if defined (HAVE_SYS_SIGLIST) || defined (sys_siglist) -#if !defined (sys_siglist) && !defined (SYS_SIGLIST_DECLARED) +#if !defined (sys_siglist) && !defined (HAVE_DECL_SYS_SIGLIST) extern char **sys_siglist; #endif #elif defined (HAVE__SYS_SIGLIST) || defined (_sys_siglist)
After that, and a related correction needed because djgpp 2.03 has only autoconf-2.57 (and I need the djgpp version of autoconf to take into account some djgpp peculiarities), the compilation (bootstrap) goes smoothly. I only remarked a strange fact: at stage 1 gpc and rts are compiled instead of only C. But this causes no observable damage.
I included diffs posted here up to yesterday to expressions.c gpc.c module.c types.c and test\fjf1018[acu].pas
The result of running the test suite is
FAIL: avo7.pas FAIL: bprealtest.pas FAIL: fjf1021h.pas FAIL: fjf1021i.pas UNSUPPORTED: fjf165a.pas UNSUPPORTED: longr2.pas FAIL: y2k.pas
=== gpc Summary ===
# of tests 4537 # of expected passes 4530 # of unexpected failures 5 # of unsupported tests 2
explicitly:
TEST avo7.pas: gpc1.exe: warnings being treated as errors c:/djgpp/b/gnu/gcc-3.23/gcc/p/test/avo7.pas:5: warning: identifiers should not start with an underscore failed TEST bprealtest.pas: c:/djgpp/b/gnu/build.gcc/gcc/p/test/a.out: error in exponentiation (Output of function out of range (ERANGE)) (error #700 at 2715) TEST fjf1021h.pas: c:/djgpp/b/gnu/gcc-3.23/gcc/p/test/fjf1021h.pas:6: expressions with side-effects are not allowed in schema types failed TEST fjf1021i.pas: c:/djgpp/b/gnu/gcc-3.23/gcc/p/test/fjf1021i.pas:8: expressions with side-effects are not allowed in schema types failed TEST fjf165a.pas: SKIPPED: German locale not installed TEST longr2.pas: SKIPPED: no LongReal math routines available TEST y2k.pas: failed 1999 1999
Not bad ... Some of these failures have been reported here by others. I will have a closer look before to upload.
Maurice