mkreduce 661 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!/bin/csh -f
  2. # mkreduce --- Make basic REDUCE executable file.
  3. # Author: Anthony C. Hearn.
  4. rm -f $reduce/reduce $reduce/log/mkreduce.log
  5. pushd $reduce/psl
  6. # The Sun uses a copying garbage collector, so we need more heap space.
  7. if (-e /bin/sun) then
  8. set command='./bpsl -td 5000000 -b 0.27 -h 0.73'
  9. else
  10. set command='./bpsl -td 5000000 -b 0.35 -h 0.65'
  11. endif
  12. $command >>& $reduce/log/mkreduce.log << EOF
  13. (dskin "$reduce/src/symget.dat")
  14. (setq symbolfilename* "$reduce/psl/bpsl")
  15. (setq loaddirectories!* '("" "$reduce/fasl/" "$reduce/psl/"))
  16. (dskin "$reduce/src/mkreduce.sl")
  17. (savesystem "REDUCE 3.4" "$reduce/reduce" nil)
  18. (bye)
  19. EOF
  20. popd