entered into RCS

From-SVN: r4623
This commit is contained in:
Richard Stallman 1993-06-01 22:11:58 +00:00
parent f0c19c48d7
commit f929db3a12
1 changed files with 15 additions and 2 deletions

View File

@ -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