home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / owf.zip / watlink.doc < prev    next >
Text File  |  1997-02-02  |  2KB  |  50 lines

  1. Watlink 1.0 - a wrapper for Watcom's wlink
  2. Copyright (C) 1997 by Thomas Bonk (thomas@ghecko.saar.de).
  3. All rights reserved.
  4. ==========================================================================
  5. 0. Installation
  6.     Copy watlink.exe to a directory that is in the environment
  7.     variable PATH (e.g. \watcom\binp).
  8.  
  9. 1. Warranty
  10.     There's absolutely NO WARRANTY; me - Thomas Bonk - is in no way
  11.     responsible for any failure or loss of data caused by Watlink.
  12.     BTW, send bug reports to thomas@ghecko.saar.de
  13.  
  14. 2. Syntax
  15.     watlink {<option>}* {<file>}+|wlink
  16.  
  17.     <option> = -m[ap]    generate map file
  18.          | -packc[ode]    pack code segments
  19.          | -de[bug]    generate debugging code and generate
  20.                 a symbol file
  21.          | -nod        no default library search
  22.          | -packd[ata]    pack data segments
  23.          | -p:<type>    set type of the executable
  24.                    <type> = pm | vio | novio
  25.     <file>     = <any>.obj    object module
  26.          | <any>.exe    name of the generated .exe file
  27.          | <any>.dll    name of the generated .dll file
  28.                 (WARNING: *.exe or *.dll files must only be
  29.                 mentioned once on the command line; watlink
  30.                 makes no error checking)
  31.          | <any>.def    standard OS/2 .DEF file
  32.          | <any>.lib    name of a library
  33.  
  34. 3. Unsupported keywords and .DEF file elements:
  35.         - Attributes for DATA: NONE, SINGLE, MULTIPLE
  36.         - Attributes for SEGMENTS: MIXED1632, ALIAS
  37.     - EXETYPE
  38.     - MAXVAVAIL is not supported for HEAPSIZE
  39.  
  40. 4. Notes:
  41.     - The syntax of the IMPORTS statement must be
  42.         IMPORTS <ImportDefSeq>
  43.         <ImportDefSeq> = <ImportDef>
  44.                    | <ImportDefSeq> <ImportDef>
  45.         <ImportDef>    = internal_name module_name
  46.                      [.<entry>]
  47.         <entry>           = The function to be imported; can be
  48.                  name or ordinal value
  49. 
  50.