DO NOT make these changes unless you have gcc configured
with STDC_VALUE=0.
You can test for this by compiling this small program. If it prints out
STDC_VALUE=1 do not make these changes. If it prints out
STDC_VALUE=0 then
you will have to make the following changes.
main() { printf("STDC_VALUE=%d\n", __STDC__); }
So now you have a gcc compiled with STDC_VALUE=0 which
cannot be recompiled
with a STDC_VALUE=1. To compile XFree86 with this compiler
you will have to
edit mit/config/x386.cf. Look for the pattern
GCC_STDC_VALUE and replace the
1 by a 0. For example the line
#define GCC_STDC_VALUE 1
should become,
#define GCC_STDC_VALUE 0
It is recommended to use gcc compiled without the
STDC_VALUE=0 for building
XFree86. It is, however, possible with the above changes. These changes may
become obsolete or invalid in a later version of XFree86.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter