aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-06-01 22:11:58 +0000
committerRichard Stallman <rms@gnu.org>1993-06-01 22:11:58 +0000
commitf929db3a12cd74c75212aed5ad4b508ad2d90a9f (patch)
tree04a4f095f961df0dd7bde38a53e7b585102b8cf7 /gcc
parentf0c19c48d7646b85a0d5ba3275e5d8bf19da7475 (diff)
downloadgcc-f929db3a12cd74c75212aed5ad4b508ad2d90a9f.zip
gcc-f929db3a12cd74c75212aed5ad4b508ad2d90a9f.tar.gz
gcc-f929db3a12cd74c75212aed5ad4b508ad2d90a9f.tar.bz2
entered into RCS
From-SVN: r4623
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/just-fixinc17
1 files changed, 15 insertions, 2 deletions
diff --git a/gcc/just-fixinc b/gcc/just-fixinc
index 7ea0b1e..2856745 100755
--- a/gcc/just-fixinc
+++ b/gcc/just-fixinc
@@ -1,7 +1,20 @@
#!/bin/sh
-rmdir tmpfoo 2>&1 >/def/null
+# This script exists for use after installing
+# the Solaris binaries from the FSF CD-ROM.
+# Use it *after* copying the directory of binaries
+# to the proper installed location.
+# It runs fixinc.svr4 to correct bugs in the Solaris header files.
+
+# The corrected header files go in the GCC installation directory
+# so that only GCC sees them.
+# This script does not modify the original header files in /usr/include.
+# It only modifies copies in the GCC installation directory.
+
+installed=/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.4.2
+cd $installed/include
+rmdir tmpfoo > /dev/null 2>&1
mkdir tmpfoo
mv va-sparc.h varargs.h stdarg.h stddef.h limits.h float.h proto.h tmpfoo
-./fixinc.svr4 /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/gcc-2.4.2/include /include .
+$installed/fixinc.svr4 $installed/include /usr/include $installed
mv tmpfoo/* .
rmdir tmpfoo