%% /u/ftp/pub/lcc/README.PATCHES, Fri Sep 21 07:50:53 2001 %% Edit by Nelson H. F. Beebe The autoconfigurized development releases of lcc-4.1.beta.nnn are expected to remain stable for long periods while collaborative work is in progress on the next release. From time to time, we may release interim updates to a base release that solve a problem for a particular platform, or fix an obscure bug that applies only to certain systems. There are currently two such patches available for lcc-4.1.beta.8. They may be applied like this: cd /YOUR/LCC/SOURCE/DIRECTORY/TREE tar xfz /WHEREEVER/YOU/DOWNLOADED/THE/DISTRIBUTION/lcc-4.1.beta.8.tar.gz patch -p 0 < /WHEREEVER/YOU/DOWNLOADED/THE/DISTRIBUTION/lcc-4.1.beta.8.patch.1 patch -p 0 < /WHEREEVER/YOU/DOWNLOADED/THE/DISTRIBUTION/lcc-4.1.beta.8.patch.1 patch.1 updates etc/x86/freebsd.c to correct default search paths and predefined variables, while patch.2 fixes a bug in cpp/macro.c that hits systems that store constant strings in read-only memory. These patches do NOT currently change the version number or date, so there is no record in the installed programs of which patches have been applied. That deficiency should be remedied in the next major development release. RedHat GNU/Linux 6.2 (Compaq/DEC Alpha, IBM PowerPC, Intel x86, Sun SPARC, and likely, others) has /usr/bin/patch, version 2.5, but a more recent version is available at ftp://ftp.gnu.org/gnu/patch/patch-2.5.4.tar.gz It is easily installed on most UNIX/POSIX/GNU systems by tar xfz patch-2.5.4.tar.gz cd patch-2.5.4 ./configure && make all check install Commercial UNIX systems come with patch too, although sometimes the versions are rather old. Apple Darwin (MacOS 10) /usr/bin/patch 17-Apr-2001, version 2.5.4 Compaq Alpha OSF/1 5.0 /bin/patch 20-Jul-1999, version 2.0.1.6 (OSF/1 version 1.0) Compaq/DEC Alpha OSF/1 4.0 /bin/patch 12-Apr-1999, version 2.0.1.6 (OSF/1 version 1.0) HP 9000/712 HP-UX 10.20 /bin/patch 10-Jun-1996, version 76.1 95/10/18 HP/Intel IA-64 GNU/Linux 2.2.17-14smp (Red Hat 6.2) [via HP NUE emulator on IA-32] /usr/bin/patch 18-Jun-1999, version 2.5 IBM PowerPC AIX 4.2 /bin/patch 19-Feb-1997, version 2.0.1.6 (AIX) IBM S/390 9762 G6 Model ZX7 GNU/Linux 2.2.16 /usr/bin/patch 4-Nov-2000, version 2.5.3 IBM SP/2 AIX 4.3.2.0 /bin/patch 14-Jul-1999, version 2.0.1.6 (AIX) Intel Pentium II FreeBSD 4.1.1 /usr/bin/patch 20-Nov-2000, version 2.1 SGI IRIX 6.5 /usr/sbin/patch 4-Nov-1999, version 2.1 Sun Solaris 2.7 /bin/patch 6-Oct-1998, no version number Sun Solaris 2.8 /bin/patch 5-Jan-2000, no version number