Maurice Lombardi wrote:
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)
I'm putting in both conditions, so it should work with both autoconf versions ...
#if !defined (sys_siglist) && !defined (SYS_SIGLIST_DECLARED) && !defined (HAVE_DECL_SYS_SIGLIST)
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
This is fixed by a backend diff I hadn't included for 3.2.x -- I'll do this in the next release, but you'll have to start with fresh GCC sources (not yet patched by GPC) then to profit from it.
Frank