[comp.windows.x] Help needed to build X11R4 for apollo using gcc

chris@estwg1.dnet.nasa.GOV (02/28/91)

Hi,

I'm trying to build X11R4 for an apollo running domain 10.3, using gcc 1.37 
and I've run into problems.

The default apollo.cf file has 
#define DefaultCCOptions -U__STDC__ -D_PROTOTYPES

This causes gcc to bomb out with the message

*undef*:1: undefining `__STDC__'

without producing an object file. Could somebody who's managed to build 
X11R4 for an apollo using gcc please let me know what options they used. 
I've tried -D_PROTOTYPES by itself and -traditional, but in both cases I 
get lots of errors when it tries to compile the apollo specific part of the 
server. I'd appreciate any help.

Thanks,

Chris
-------------------------------------------------------------------------------
Chris Rouch                                          chris@estwg1.dnet.nasa.gov
Serco Space Ltd.                                            Tel: +31 1719 84672
ESTEC, Holland.                                             Fax: +31 1719 84192

"Only when we dream are we free. The rest of the time we need wages"