Install_step_3 608 B

123456789101112131415161718192021
  1. #! /bin/sh
  2. #
  3. # This script installs the TIGCCLIB.
  4. # For this, 2 directories have to be created. One (include) contains header
  5. # files, the other (lib) contains libraries.
  6. #
  7. echo GCC4TI script: Installing TIGCCLIB...
  8. rm -Rf $TIGCC/include
  9. cp -Rf ../tigcclib/include $TIGCC/
  10. # only symlink if the file system is case sensitive
  11. if [ ! -f "$TIGCC/include/asm/OS.h" ]
  12. then ln -sf $TIGCC/include/asm/os.h $TIGCC/include/asm/OS.h
  13. fi
  14. rm -Rf $TIGCC/lib
  15. cp -Rf ../tigcclib/lib $TIGCC
  16. rm -Rf $TIGCC/examples
  17. cp -Rf ../tigcclib/examples $TIGCC
  18. #cd ../tigcclib/src; make; make clean; cp tigcc.a $TIGCC/include/c
  19. exit 0