Install_step_4 536 B

123456789101112131415161718192021222324
  1. #! /bin/sh
  2. #
  3. # Install the TI-68k Developer Utilities
  4. #
  5. echo GCC4TI script: Compiling and installing the TI-68k Developer Utilities...
  6. isos=`uname -a | grep "opensolaris"`
  7. if [ "x$isos" = "x" ]; then
  8. #Assume GNU or BSD install
  9. install=install
  10. else
  11. install=ginstall
  12. fi
  13. cd ../sources/tools/
  14. if [ "x$GCC4TIHOST" != "x" ]; then
  15. echo Compiling TI-68k Developer Utilities on custom host $GCC4TIHOST.
  16. fi
  17. ./buildall || exit 1
  18. ${install} -d $TIGCC/bin || exit 1
  19. ${install} bin/* $TIGCC/bin || exit 1
  20. ./clean
  21. echo Done.
  22. exit 0