2 # This script exists for use after installing
3 # the Solaris binaries from a distribution tape/CDROM.
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.
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.
13 installed
=/opt
/gnu
/lib
/gcc-lib
/sparc-sun-solaris
2/2.5.0
16 rmdir tmpfoo
> /dev
/null
2>&1
18 mv va-sparc.h varargs.h stdarg.h stddef.h limits.h float.h proto.h tmpfoo
20 $installed/fixinc.svr4
$installed/include
/usr
/include
$installed
22 # Make sure fixed native limits.h gets renamed to syslimits.h before gcc's
23 # limits.h from tmpfoo is moved back.
25 if test -f limits.h
; then
26 mv limits.h syslimits.h
28 cp $installed/gsyslimits.h syslimits.h