maguofeng
驱动牛犊
驱动牛犊
  • 注册日期2002-07-29
  • 最后登录2015-08-13
  • 粉丝0
  • 关注0
  • 积分90分
  • 威望40点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
阅读:9320回复:22

nt4 compile 总结

楼主#
更多 发布于:2004-10-10 09:40
编译的一些总结和编译的文件,供参考
maguofeng
驱动牛犊
驱动牛犊
  • 注册日期2002-07-29
  • 最后登录2015-08-13
  • 粉丝0
  • 关注0
  • 积分90分
  • 威望40点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-10-10 14:26
To compile NT4 source code, you need make some prepare:

1.read the doc nt4\private\sdktools\build\docs\build.doc to learn about what environment to set and what's meaning the variable options mean.
2.do place the source code in d:\nt4\... because many "sources" files reference to this directory path directly. if you do not agree with this, you must change all of them to yourself directory.
3.you need install visual c++ 6.0 in your computer. for operating system, I use Windows XP, but I think Windows 2000 is OK as well.
4.compile nt4\private\sdktools\.. tools, and place these tools into nt4\public\tools directory. at least you need chmode.exe cl16.exe ech.exe gensrv.exe hextract.exe hsplist.exe listmung.exe masm386.exe strcto.exe touch.exe wcshdr.exe ws2hdr.exe ...  Have a try to compile these tools as many as you can. You can also find these tools from other sources such as Microsoft's SDK, DDK.
5.install ddk in your computer, I installed Windows 2000 ddk and I use "build.exe" in it. in fact, the process to compile driver is similar to compile NT4 OS.
6. because ntdbg.h is corrupt, it will bring many problem to you. if somebody can reconstruct it, please tell me and place it here. I think it is possible to recontruct it. At this time, you can change some content to fool compiler. comments what compiler can't process. It will not impact the compile process though it is a very bad thing.
7.the process of compile need your nt4 directory tree is readable and writable. Please ensure that you get rid of read-only attribute for all the file.

when somebody prepare all these, you can tell me and I will give you more details.
I have not Windows NT4's SDK. Can somebody provide one piece to me? I think it will be helpful  if I have it.
maguofeng
驱动牛犊
驱动牛犊
  • 注册日期2002-07-29
  • 最后登录2015-08-13
  • 粉丝0
  • 关注0
  • 积分90分
  • 威望40点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2004-10-14 17:38
是nt4 platform sdk
maguofeng
驱动牛犊
驱动牛犊
  • 注册日期2002-07-29
  • 最后登录2015-08-13
  • 粉丝0
  • 关注0
  • 积分90分
  • 威望40点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
地板#
发布于:2007-03-29 13:46
ntdbg.h完全可以从其他的代码中恢复。在替换核心时,hal.dll, win32k.sys, ntoskrnl.exe必须同时替换,成功引导是完全没有问题的,大家可以试一试
maguofeng
驱动牛犊
驱动牛犊
  • 注册日期2002-07-29
  • 最后登录2015-08-13
  • 粉丝0
  • 关注0
  • 积分90分
  • 威望40点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2007-03-29 13:47
ntdbg.h完全可以从其他的代码中恢复。在替换核心时,hal.dll, win32k.sys, ntoskrnl.exe必须同时替换,成功引导是完全没有问题的,大家可以试一试
游客

返回顶部