

TASM, TLINK, TLINK32, and
TLIB command-line switches
--------------------------

Turbo Assembler  Version 4.1  Copyright (c) 1988, 1996 Borland International
Syntax:  TASM [options] source [,object] [,listing] [,xref]
/a,/s          Alphabetic or Source-code segment ordering
/c             Generate cross-reference in listing
/dSYM[=VAL]    Define symbol SYM = 0, or = value VAL
/e,/r          Emulated or Real floating-point instructions
/h,/?          Display this help screen
/iPATH         Search PATH for include files
/jCMD          Jam in an assembler directive CMD (eg. /jIDEAL)
/kh#           Hash table capacity # symbols
/l,/la         Generate listing: l=normal listing, la=expanded listing
/ml,/mx,/mu    Case sensitivity on symbols: ml=all, mx=globals, mu=none
/mv#           Set maximum valid length for symbols
/m#            Allow # multiple passes to resolve forward references
/n             Suppress symbol tables in listing
/os,/o,/op,/oi Object code: standard, standard w/overlays, Phar Lap, or IBM
/p             Check for code segment overrides in protected mode
/q             Suppress OBJ records not needed for linking
/t             Suppress messages if successful assembly
/uxxxx         Set version emulation, version xxxx
/w0,/w1,/w2    Set warning level: w0=none, w1=w2=warnings on
/w-xxx,/w+xxx  Disable (-) or enable (+) warning xxx
/x             Include false conditionals in listing
/z             Display source line with error message
/zi,/zd,/zn    Debug info: zi=full, zd=line numbers only, zn=none


Turbo Link  Version 7.1.30.1. Copyright (c) 1987, 1996 Borland International
Syntax: TLINK objfiles, exefile, mapfile, libfiles, deffile, resfiles
@xxxx indicates use response file xxxx
/x   No map                          /c  Case sensitive symbols
/m   Map including public names      /C  Case sensitive exports & imports
/M   Map with mangled public names   /ye Expanded memory swapping
/s   Map plus detailed segment map   /yx Extended memory swapping
/l   Map plus source line #s         /d  Warn if duplicate symbols in librarie
/i   Initialize all segments         /f  Inhibit optimizing far calls to near
/L   Specify library search paths    /Gx Goodies
/n   Ignore default libraries              n=discard Nonresident name table
/v   Full symbolic debug information       r=transfer Resident names to
/Tti Specify target & image type             nonresident names table
     t can be d = DOS (default)      /A=dd  Set segment alignment
              w = Windows            /R[mpekv]  Specify option to RLINK
              x = DPMI               /t  Create COM file (same as /Tdc)
     i can be e=EXE or d=DLL         /k  Suppress "No stack" warning msg
/3  Enable 32-bit processing         /Ox Optimizations
/o  Overlay switch                         c=chained fixups
/P[=dd]  Pack code segments                i=iterated data
/Vd.d Expected Windows version             a=minimum segment alignment
/j   Specify object search paths           r=minimum resource alignment


Turbo Link  Version 1.6.71.0 Copyright (c) 1993,1996 Borland International
Syntax: TLINK32 objfiles, exefile, mapfile, libfiles, deffile, resfiles
@xxxx indicates use response file xxxx
  -m      Map file with publics     -x       No map
  -s      Detailed segment map      -L       Specify library search paths
  -M      Map with mangled names    -j       Specify object search paths
  -c      Case sensitive link       -v       Full symbolic debug information
  -Enn    Max number of errors      -n       No default libraries
  -P-     Disable code packing      -H:xxxx  Specify app heap reserve size
  -B:xxxx Specify image base addr   -Hc:xxxx Specify app heap commit size
  -wxxx   Warning control           -S:xxxx  Specify app stack reserve size
  -Txx    Specify output file type  -Sc:xxxx Specify app stack commit size
          -Tpx  PE image            -Af:nnnn Specify file alignment
                (x: e=EXE, d=DLL)   -Ao:nnnn Specify object alignment
  -ax     Specify application type  -o       Import by ordinals
          -ap Windowing Compatible  -Vd.d    Specify Windows version
          -aa Uses Windowing API    -r       Verbose link


TLIB 4.00 Copyright (c) 1987, 1996 Borland International
Syntax: TLIB libname [/C] [/E] [/P] [/0] commands, listfile
    libname     library file pathname
    commands    sequence of operations to be performed (optional)
    listfile    file name for listing file (optional)

A command is of the form: <symbol>modulename, where <symbol> is:
    +           add modulename to the library
    -           remove modulename from the library
    *           extract modulename without removing it
    -+ or +-    replace modulename in library
    -* or *-    extract modulename and remove it

    /C          case-sensitive library
    /E          create extended dictionary
    /PSIZE      set the library page size to SIZE
    /0          purge comment records

Use @filepath to continue from file "filepath".
Use '&' at end of a line to continue onto the next line.

