Install_step_2 621 B

12345678910111213141516171819
  1. #! /bin/sh
  2. #
  3. # This script completely configures, compiles and installs the patched tools.
  4. # The download tree must have been patched before doing this.
  5. #
  6. ORG_PWD=$PWD/..
  7. mkdir "$ORG_PWD/build"; cd "$ORG_PWD/build"; mkdir binutils; mkdir gcc;
  8. (cd "$ORG_PWD/scripts" && ./launch.binutils && ./launch.gcc) || exit 1
  9. rm -Rf "$ORG_PWD/build"
  10. if [ "x$GCC4TIHOST" != "x" ]; then
  11. echo Compiling GCC4TI on custom host $GCC4TIHOST.
  12. fi
  13. (cd "$ORG_PWD/scripts" && ./launch.a68k && ./launch.ld-tigcc &&
  14. ./launch.tigcc && ./launch.tprbuilder && ./launch.patcher &&
  15. ./launch.envreg) || exit 1
  16. rm -f "$PREFIX_GCC4TI/bin/parser"
  17. exit 0