gordon@cs.uow.edu.au (Gordon Cheng) (02/01/91)
Help!!! I am trying to install AT&T C++ 2.1 on our SUN running SUNOS 4.1, and I'm keep on getting size_t errors have anyone out there have this problem before or know how I can fix it. -gordon
grue@caen.engin.umich.edu (Paul Howell) (02/02/91)
In article <1991Feb1.022619.8617@cs.uow.edu.au>, gordon@cs.uow.edu.au (Gordon Cheng) writes: |> Help!!! |> I am trying to install AT&T C++ 2.1 on our SUN running SUNOS 4.1, |> and I'm keep on getting size_t errors have anyone out there have this |> problem before or know how I can fix it. |> |> -gordon I had a similar problem on sparcs using sunos 4.1. This is what I did to fix the problem. In /usr/include/sys/stdtypes.h, I did the following: #ifndef CPLUSPLUS typedef int size_t; /* ??? */ #else typedef unsigned int size_t; /* ??? */ #endif Then in the root level makefile, I did this: # any special option to pass to CC CCFLAGS = -O -D$(SYS) -DCPLUSPLUS After that, go back and 'make scratch'. --- Paul Howell grue@caen.engin.umich.edu