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.

60 lines
1.9 KiB

  1. ILINK 3306 README
  2. INSTALLATION AND USE
  3. Here in snap/bin, there are 3 linkers
  4. link.exe (link.err) the incremental linker, debug build
  5. rlink.exe (link.err) the incremental linker, release build
  6. olink.exe (olink.err) the non-incremental linker, release build
  7. To use ilink, just sync. Incremental linking is the default.
  8. Ilink will create exe/dlls whose associated debug
  9. info is stored in a program database (.pdb), in the so-called "NB10"
  10. exe format. (In contrast, the old link produced the "NB09" format.)
  11. The shn0[d].dll here in snap/bin can debug any combination of
  12. exes/dlls in either NB09 or NB10 format.
  13. Ilink will automatically try to incremental-link, provided
  14. * you aren't creating a map file
  15. * you aren't specifying -debugtype:both or -debugtype:coff
  16. * you aren't specifying -pdb:none
  17. * you aren't specifying -incremental:no
  18. To produce a Cuda compatible "NB09" .exe, link -pdb:none.
  19. CVPACK R.I.P.!
  20. Since ilink transports debug information without cvpack, we expect some
  21. minor problems with the CodeView expression evaluator. Please be on the
  22. look out for any changes in EE behaviour, small or large and report them!
  23. MIXING CUDA PDBS AND ILINK PDBS
  24. Note that ilink can link objs created by the Dolphin and Cuda compilers,
  25. e.g. both /Z7 and /Zi. However, for now, please do not specify the
  26. same .pdb for the compiler and the linker.
  27. That is, do not specify
  28. cl -Zi -FdXYZ.pdb
  29. when you are linking
  30. link -pdb:XYZ:pdb (or)
  31. link -out:XYZ.exe (which defaults to -pdb:XYZ.pdb).
  32. Rather, change your "cl" line to use (for instance)
  33. cl -Zi -Fdmsvc.pdb (or)
  34. cl -Zi (which defaults to -Fdmsvc.pdb)
  35. Otherwise you will get this diagnostic when you link:
  36. LNK1206: cannot (yet) overwrite Visual C++ 1.0 program database "%s"
  37. PROBLEMS/COMMENTS
  38. Please direct any comments/questions to JanGr or phinperf
  39. as appropriate, and be sure to RAID and/or report any problems
  40. you may have!