NOTE: Refer to the appropriate OS-specific README file before attempting to build XFree86. These files contain additional information that you may need to successfully build under your OS.
We highly recommend using GCC-2 to build XFree86. GCC-2 is available from prep.ai.mit.edu and other sites archiving GNU source. Note that both gcc-2.8.0 and egcs have been proven to break the code multiple times. Especially egcs seems to fail in several modules when optimizing.