Hello,
I am trying to build cross linux -> cygwin compiler with pascal language enabled.
I am able to build complete gcc-3.3.1 with c,c++,objc,ada,f77,java and pascal-20030507 (the three patches to get gpc-20030507 working with gcc-3.3 applied) languages enabled.
The cross compiler fails under rts :
<snip>
/home/dave/cygwin/gcc-3.3.1/gcc/p/rts/rts.c:1001: error: wrong type argument to unary minus
The error appears becouse `timezone' is at that point is either undefined or have strange definition. If you just want to finish compilation then putting the following to lines before the function containing error should help:
#undef timezone extern long timezone;
For proper fix one should check why configure made wrong choice -- it seems that `configure' defined symbols _GNU_SOURCE _LARGEFILE64_SOURCE _FILE_OFFSET_BITS
and that those symbols are not defined during build. For me it looks like `configure' bug.