dbuild.psl 850 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/csh -f
  2. # dbuild.psl --- Build a minimal PSL REDUCE sufficient to build all fasl files.
  3. # Author: Anthony C. Hearn.
  4. setenv rexec $reduce/lisp/psl/$MACHINE/red
  5. if ( -e $rexec/reduce.img ) then
  6. mv $rexec/reduce.img $rexec/,reduce.img
  7. # else if ( -e $rexec/reduce && `wc -c < $rexec/reduce` >> 10000 ) then
  8. # mv $rexec/reduce $rexec/,reduce
  9. endif
  10. rm -f $reduce/log/dbuild.log
  11. date > $reduce/log/dbuild.log
  12. pushd $reduce/lisp/psl/$MACHINE/psl
  13. $reduce/lisp/psl/$MACHINE/psl/bpsl -td 14000000 >>& $reduce/log/dbuild.log << EOF
  14. (setq symbolfilename* "$reduce/lisp/psl/$MACHINE/psl/bpsl")
  15. (setq loaddirectories* '("" "$reduce/lisp/psl/$MACHINE/red/"
  16. "$reduce/lisp/psl/$MACHINE/psl/"))
  17. (dskin "$reduce/packages/support/dbuild.sl")
  18. (savesystem "Base REDUCE" "$rexec/reduce" nil)
  19. (quit)
  20. EOF
  21. popd
  22. date >> $reduce/log/dbuild.log