home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / turbo_c / tc130.arc / RELINK.DOC < prev    next >
Text File  |  1987-08-21  |  2KB  |  45 lines

  1. 8-21-87
  2.  
  3. This information is provided here since the main users manual was
  4. already finished when I decided to provide the batch files and
  5. library response files to allow remaking the libraries.
  6.  
  7. If you want to remake the entire library, the procedure can be
  8. automated with a series of batch files and librarian response files.
  9.  
  10. You will need, besides Turbo-C of course, Microsoft MASM assembler and
  11. the LIB librarian utility which comes with MASM.
  12.  
  13. There are 5 batch files and 5 librarian response files:
  14.      MAKES.BAT    LIBSMALL            Small memory model
  15.      MAKEC.BAT    LIBCOMP             Compact memory model
  16.      MAKEM.BAT    LIBMED              Medium memory model
  17.      MAKEL.BAT    LIBLARGE            Large memory model
  18.      MAKEH.BAT    LIBHUGE             Huge memory model
  19.  
  20. To remake the libraries, you will most likely need to be on a
  21. hard disk.  I don't think a dual floppy system can handle it all
  22. in one chunk.  If you have a floppy system, you will have to remake
  23. the library in pieces, bringing in only a few source files at a time.
  24.  
  25. On a hard drive, make a subdirectory and copy onto it all source and header
  26. files, plus the above named batch and lib* files from the "Steve's Library"
  27. distribution disk.  Make sure that this directory does NOT have the
  28. library files SMTC?.LIB!
  29.  
  30. Then, making sure that TCC.EXE, MASM.EXE, and LIB.EXE are in your current
  31. PATH, simply execute each of the batch files.  They will recompile and
  32. reassemble each source files and then create a new library file from the
  33. OBJ files.  Copy the object files into the directory which has the Turbo-C
  34. library files, and then you can delete everything in the working directory.
  35.  
  36. If you choose to keep the working directory on disk, you can save space
  37. after remaking the files by doing:
  38.               erase *.obj
  39.               erase *.lst
  40.  
  41. The batch files and librarian response files are only supplied with
  42. full source registration.
  43.  
  44. Steve Margison
  45.