launch.ld-tigcc 308 B

1234567891011121314151617181920
  1. #! /bin/sh
  2. #
  3. # Compile and install the TIGCC linker
  4. #
  5. isbsd=`uname | grep "BSD"`
  6. if [ $isbsd = "" ]; then
  7. #Assume GNU make
  8. make=make
  9. else
  10. make=gmake
  11. fi
  12. echo Installing TIGCC linker...
  13. cd ../sources/ld-tigcc
  14. ${make} -e
  15. cp ld-tigcc $TIGCC/bin
  16. cp ar-tigcc $TIGCC/bin
  17. ${make} clean
  18. echo Done.