PREV UP NEXT StackThreads/MP: version 0.77 User's Guide

8.1: How to Apply Patches

Patches are placed in directory gccpatch in a form of diffs to sources of gcc 2.7.2.3 and gcc 2.8.1. The name of the files are gcc-patch.2.7.2.3 and gcc-patch.2.8.1, respectively. If you are going to use gcc 2.7.2.3 or gcc 2.8.1, just copy the appropriate patch file to the source directory (the directory where files like calls.c and flags.h exist) and do:

patch -p 0 < patch-file

gcc-patch.2.7.2.3 or gcc-patch.2.8.1.

If the version number of your gcc source is neither 2.7.2.3 nor 2.8.1, you may still have a chance to apply the patches mechanically, as long as the major version number matches. Just try the same command and look at messages from patch command. Even if you fail, since patches are very small, it is practical to apply them by hand.