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.

61 lines
2.2 KiB

  1. How to build Denali using the NTBuild tools.
  2. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  3. ***NOTE: The below method shows the "official" list of things to copy. This will total
  4. about 250+ mb of stuff and take quite some time. An easier way would be to copy the tree
  5. on \\andrews\ntbuild. This contains the 65mb of stuff that you actually need.
  6. Note: hopefully you dont even need all of that. I will attempt to whittle it
  7. down further when I have time***
  8. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  9. mkdir \nt
  10. mkdir \nt\public
  11. mkdir \nt\private
  12. mkdir \nt\private\developer
  13. net view \\ntx86? (where ? is 1, 2, 3, 4, 5, or 6) I used 5
  14. Choose the latest FreePub, I used FreePub.1311
  15. e.g. net use n: \\ntx865\freepub.1311
  16. Copy tree from ntx86 to \nt\public on your hd.
  17. e.g. xcopy n:\ c:\nt\public /e
  18. >> This is 210mb of junk. You dont need any of the non i386 stuff,
  19. and you dont need 99% of the other stuff either. I copied
  20. over only what I needed. I will share out my directory tree
  21. so you can copy exactly what I copied if you want to save space.
  22. There's 150mb of libs, and we only need a fraction of that.
  23. I copied over a lot of H files that I dont think we need, but
  24. we can deal with that later.
  25. net use x: \\x86fre\sources
  26. If you dont have perms, send mail to the email alias NUTS
  27. Copy the contents of the Developr subdirectory on \\x86fre\sources to
  28. \nt\private\developr on your machine.
  29. e.g. xcopy x:\developr c:\nt\private\developr /e
  30. net view \\ntx86? (where ? is 1, 2, 3, 4, 5, or 6) I used 5
  31. Choose the latest NNNNFre.Srv, I used 1311Fre.Srv
  32. e.g. net use m: \\ntx865\1311Fre.Srv
  33. Choose or create a directory on your machine that is (or will be) on
  34. your path. I created a directory under \nt called MSTools
  35. e.g. mkdir \nt\mstools
  36. Copy the contents of the \mstools directory & the \idw directory
  37. from the ntx86 share to this directory on your machine. Note: you do
  38. NOT need the subdirectories.
  39. e.g. xcopy m:\mstools \nt\mstools
  40. e.g. xcopy m:\idw \nt\mstools
  41. Set two environment variables:
  42. SET USERNAME=[x86Fre|x86Chk]
  43. SET _NTDRIVE=<your drive>
  44. e.g.
  45. SET USERNAME=x86Chk
  46. SET _NTDRIVE=C:
  47. execute \nt\public\tools\razzle.cmd
  48. cd to the \denali\src directory and type "BUILD"