]>
Commit | Line | Data |
---|---|---|
f0c19c48 | 1 | #!/bin/sh |
f929db3a RS |
2 | # This script exists for use after installing |
3 | # the Solaris binaries from the FSF CD-ROM. | |
4 | # Use it *after* copying the directory of binaries | |
5 | # to the proper installed location. | |
6 | # It runs fixinc.svr4 to correct bugs in the Solaris header files. | |
7 | ||
8 | # The corrected header files go in the GCC installation directory | |
9 | # so that only GCC sees them. | |
10 | # This script does not modify the original header files in /usr/include. | |
11 | # It only modifies copies in the GCC installation directory. | |
12 | ||
13 | installed=/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.4.2 | |
14 | cd $installed/include | |
15 | rmdir tmpfoo > /dev/null 2>&1 | |
f0c19c48 RS |
16 | mkdir tmpfoo |
17 | mv va-sparc.h varargs.h stdarg.h stddef.h limits.h float.h proto.h tmpfoo | |
f929db3a | 18 | $installed/fixinc.svr4 $installed/include /usr/include $installed |
f0c19c48 RS |
19 | mv tmpfoo/* . |
20 | rmdir tmpfoo |