This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.3.0 compilation error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]