build-initial-image.bat 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. @echo off
  2. set runnable="%~1"
  3. call build\filenames.bat
  4. echo ,batch > build\build-initial-image.input
  5. echo ,bench on >> build\build-initial-image.input
  6. echo ,open signals handle features code-quote >> build\build-initial-image.input
  7. echo ,open bitwise ascii code-vectors >> build\build-initial-image.input
  8. echo ,open (subset i/o (write-byte)) (subset ports (set-port-crlf?!)) >> build\build-initial-image.input
  9. echo ,config ,load scheme/platform-interfaces.scm >> build\build-initial-image.input
  10. echo ,config ,load scheme/rts-packages-32.scm >> build\build-initial-image.input
  11. echo ,open platform >> build\build-initial-image.input
  12. echo ,open cells record-types >> build\build-initial-image.input
  13. echo ,load scheme/alt/low-exception.scm >> build\build-initial-image.input
  14. echo ,load %linker-files% >> build\build-initial-image.input
  15. echo ,load scheme/alt/init-defpackage.scm >> build\build-initial-image.input
  16. echo (load-configuration "scheme/platform-interfaces.scm") >> build\build-initial-image.input
  17. echo (load-configuration "scheme/rts-packages-32.scm") >> build\build-initial-image.input
  18. echo (load-configuration "scheme/interfaces.scm") >> build\build-initial-image.input
  19. echo (load-configuration "scheme/vm/shared-interfaces.scm") >> build\build-initial-image.input
  20. echo (load-configuration "scheme/packages.scm") >> build\build-initial-image.input
  21. echo (flatload initial-structures) >> build\build-initial-image.input
  22. echo (load "build/initial.scm") >> build\build-initial-image.input
  23. echo (link-initial-system) >> build\build-initial-image.input
  24. call %runnable% -h 8000000 < build\build-initial-image.input
  25. cd build
  26. if exist initial.image-32 del initial.image-32
  27. ren initial.image initial.image-32
  28. cd ..