Hello,
<snip>
If add line #undef timezone before line 247, compiler said :
make[2]: Entering directory `/home/dave/cygwin/gcc-build/gcc/p/rts' /home/dave/cygwin/gcc-build/gcc/xgcc -B/home/dave/cygwin/gcc-build/gcc/ -B/home/dave/xcygwin-gcc-3.3.1-bin-2.14-pascal/i686-pc-cygwin/bin/ -B/home/dave/xcygwin-gcc-3.3.1-bin-2.14-pascal/i686-pc-cygwin/lib/ -isystem /home/dave/xcygwin-gcc-3.3.1-bin-2.14-pascal/i686-pc-cygwin/include -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 /home/dave/cygwin/gcc-3.3.1/gcc/p/rts/rts.c /home/dave/cygwin/gcc-3.3.1/gcc/p/rts/rts.c:239: error: `timezone' redeclared as different kind of symbol /home/dave/xcygwin-gcc-3.3.1-bin-2.14-pascal/i686-pc-cygwin/include/time.h:117: error: previous declaration of `timezone'
I looked into time.h coming from cygwin. In line 107 it defines timezone as a function. However it has variable `_timezone'. I changed line 1001 in `rts.c' replacing `timezone' by `_timezone'. Then I was able to build gpc for cygwin. I have build only pascal and c and the failed later since I used older version of native gpc, but that change should get you past the error.