WINDOWS.txt 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Scheme 48 Windows port
  2. ----------------------
  3. Copyright (c) 1993-2007 by Richard Kelsey and Jonathan Rees. See file COPYING.
  4. Starting with version 1.3, Scheme 48 has a native Windows port, which
  5. works on Windows NT 4.0 and above (including Windows 2000 and XP, but
  6. not Windows 95, Windows 98, or Windows ME). At this time, the port is
  7. considered experimental.
  8. Specifically, the following caveats apply to the Windows port:
  9. o UDP sockets don't work. (But TCP sockets do.)
  10. o The "old-style" interface to loading external code dynamically
  11. doesn't work. (But the new interface works---see doc\news.txt and
  12. the documentation.)
  13. o The Posix libraries don't work (and probably never will, at least
  14. not in the current form).
  15. Installing Scheme 48 from the installer
  16. ---------------------------------------
  17. To install Scheme 48, download the .msi file and double-click on it.
  18. This requires Windows Installer version 2.0 or greater to work.
  19. Building Scheme 48 from source
  20. ------------------------------
  21. The Scheme 48 developers build the VM using Microsoft Visual C++
  22. 6.0SP6. To build the VM, load the scheme48.dsw workspace file into
  23. Visual C++, choose a configuration ("Win32 Debug" or "Win32 Release")
  24. and build. You'll need to have run build\generate-c-header.bat
  25. previously---see below. To generate the standard Scheme 48 image,
  26. you'll need to run build\build-usual-image.bat---also described below.
  27. You can then start Scheme 48 by saying
  28. scheme48vm -i scheme48.image
  29. (The installer creates a suitable front-end batch file for this
  30. incantation.)
  31. A number of batch files are supposed to do the jobs of the various
  32. other make targets in the Unix Makefile. To run them, you should be
  33. sitting in a shell in the root of the Scheme 48 hierarchy. Note that,
  34. for all except build-usual-image.bat you'll need to have a working
  35. Scheme 48 available your machine:
  36. build\generate-c-header.bat
  37. This generates the c\scheme48.h header file needed for compiling
  38. various VM extensions.
  39. It requires a command-line argument specifying how to start up a
  40. Scheme 48 REPL.
  41. Example:
  42. build\generate-c-header.bat "C:\Program Files\Scheme 48\Scheme 48 1.3\scheme48"
  43. build\build-usual-image.bat
  44. This generates the default scheme48.image from build\initial.image.
  45. It requires five command-line arguments:
  46. - the root directory of the Scheme 48 sources
  47. *with a trailing backslash*
  48. - the full path of the installed scheme/ subdirectory of the Scheme
  49. 48 sources
  50. - the name of the image file to be generated
  51. - the name of the VM executable
  52. - the filename of the initial image
  53. Example (supposing the Scheme 48 root directory sits at c:\scheme48)
  54. build\build-usual-image ".\" "C:\Program Files\Scheme 48\Scheme 48 1.3\scheme" scheme48vm.exe sche build\initial.image
  55. build\build-initial-image.bat
  56. This builds build\initial.image from source.
  57. It requires a command-line argument specifying how to start up a
  58. Scheme 48 REPL.
  59. Before running it, you need to generate build\filenames.bat via
  60. <Scheme 48> -a batch < build\filenames.scm
  61. where <Scheme 48> starts up a Scheme 48 REPL, for example
  62. "C:\Program Files\Scheme 48\Scheme 48 1.3\scheme48" -a batch < build\filenames.scm
  63. build\build-initial-image.bat "C:\Program Files\Scheme 48\Scheme 48 1.3\scheme48"
  64. build\generate-unicode-info.bat
  65. This builds the Unicode tables from source.
  66. build\generate-unicode-info.bat "C:\Program Files\Scheme 48\Scheme 48 1.3\scheme48"
  67. build\i-know-what-i-am-doing.bat
  68. This builds the VM C sources from Scheme.
  69. It requires a command-line argument specifying how to start up a
  70. Scheme 48 REPL.
  71. build\i-know-what-i-am-doing.bat "C:\Program Files\Scheme 48\Scheme 48 1.3\scheme48"