Wirawan Purwanto wrote:
I tried to compile GCC 4.3.0 on a Red Hat Linux 9.0 box, it stopped at stage 1:
Compiling new gcc versions on old linux versions may not always work, and is unlikely to be fixed. You are probably on your own here if you run into a non-trivial problem.
../../gcc-4.3.0/gcc/config/host-linux.c: In function `linux_gt_pch_use_address': ../../gcc-4.3.0/gcc/config/host-linux.c:207: `SSIZE_MAX' undeclared (first use in this function)
GCC is expecting SSIZE_MAX to be defined by the glibc headers, which is true with current versions of glibc. Assuming ssize_t is a long, then SSIZE_MAX should be LONG_MAX.
Jim