I managed to compile and run Xgrass under AIX3.2.2, but only using
the Berkeley variant of the C-compiler. To get this ou have to add
exactly the following stanza to the /etc/etc.cfg file:
* Berkeley c
bsdcc: use = DEFLT
crt = /lib/crt0.o
mcrt = /lib/mcrt0.o
gcrt = /lib/gcrt0.o
libraries = -lbsd, -lc
proflibs = -L/lib/profiled,-L/usr/lib/profiled
options = -H512,-T512, -qlanglvl=extended, -qnoro,
-D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO,
-D_BSD_INCLUDES, -bnodelcsect,
-U__STR__, -U__MATH__
Next make a symboic link from /bin/cc to /bin/bsdcc and change the
compiler-name in your header file (src/CMD/head/..) into bsdcc.