home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gcc-2.4.5 / just-fixinc < prev    next >
Encoding:
Text File  |  1993-06-01  |  774 b   |  21 lines

  1. #!/bin/sh
  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
  16. mkdir tmpfoo
  17. mv va-sparc.h varargs.h stdarg.h stddef.h limits.h float.h proto.h tmpfoo
  18. $installed/fixinc.svr4 $installed/include /usr/include $installed
  19. mv tmpfoo/* .
  20. rmdir tmpfoo
  21.