Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.9 KiB

  1. Notes on Building and Running Posix (11-7-91)
  2. - enlist in the posix project (\nt\private\posix)
  3. md \nt\private\posix
  4. cd \nt\private\posix
  5. enlist -s \\popcorn\razzle1 posix
  6. - build
  7. cd \nt\private\posix
  8. build
  9. cd client
  10. buildtst \\ builds tst*.exe - minimal internal tests
  11. NOTE rtl/stubs.c has stubs for CRT pieces that are missing from psxcrt.lib.
  12. These must be removed when the REAL crt library is complete.
  13. - copy executables and libraries to test machine
  14. \nt\private\posix\psxss\obj\i386\psxss.exe --> nt\bin
  15. \nt\private\posix\server\obj\i386\psxsrv.exe --> nt\bin
  16. \nt\private\posix\programs\psxses\obj\i386\posix.exe --> nt\bin
  17. \nt\private\posix\client\obj\i386\tst*.exe --> \nt\bin
  18. \nt\public\sdk\lib\i386\psxdll.dll --> nt\dll
  19. - configure \nt\ntuser.cfg on test machine
  20. add line in [Sm] section
  21. SubSystem = Posix
  22. change InitialCommand line to
  23. InitialCommand = NOWINEXEC
  24. - boot using i386kd (kernel debugger running on os2 machine
  25. - at i386kd prompt after winlogon fails, type
  26. ntsd -- winlogon
  27. - log in
  28. - start psxsrv and minimize the window
  29. - run the relevant test program
  30. TO RUN TESTS:
  31. The test machine must have the following:
  32. Hpfs file system on d:
  33. directory and files:
  34. d:\psx
  35. d:\psx\conffile contents unimportant
  36. d:\psx\named.pip contents unimportant
  37. d:\psx\tstf.one contents unimportant
  38. d:\psx\tstf.two contents unimportant
  39. d:\psx\tsthello.exe from nt\bin
  40. d:\psx\out.dat contents unimportant
  41. d:\psx\test
  42. d:\psx\test\rmtst1
  43. d:\psx\test\rmtst1\ab contents unimportant
  44. d:\psx\test\rmtst2
  45. d:\psx\test\rmtst2\.a contents unimportant
  46. d:\psx\test\rmtst3
  47. d:\psx\test\rmtst3\a contents unimportant
  48. d:\psx\test\rmtst4
  49. d:\psx\test\rmtst4\abcde contents unimportant
  50. d:\psx\test\tstdirs
  51. d:\psx\test\tstdirs\ some # of files and dirs - contents unimportant
  52. There are notes in the headers of each test file for what they require,
  53. but the above is fairly complete.