en:docs:tk:tools:bind

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:tk:tools:bind [2024/10/03 02:43] prokusheven:docs:tk:tools:bind [2024/10/22 02:39] (current) prokushev
Line 30: Line 30:
 | | |)|BBB|(|BBB=[[#/HELP|/H[ELP] ]] | | |)|BBB|(|BBB=[[#/HELP|/H[ELP] ]]
 | | |!| | | |!| | | |!| | | |!|
-| | |)|/M[AP]|(|+| | |)|CCC|(|CCC=[[#/MAP|/M[AP] [filename] ]]
 | | |!| | | |!| | | |!| | | |!|
-| | |)|/N[AMES]|(|+| | |)|HHH|(|HHH=[[#/LIBPATH|/L[IBPATH] searchpath ]]
 | | |!| | | |!| | | |!| | | |!|
-| | |)|/NOLOGO|(|+| | |)|DDD|(|DDD=[[#/NAMES|/N[AMES] [name | @filename] ]]
 | | |!| | | |!| | | |!| | | |!|
-| | |)|/O[UTFILE]|(|+| | |)|EEE|(|EEE=[[#/NOLOGO|/NOLOGO]]
 | | |!| | | |!| | | |!| | | |!|
-| | |`|/Q[UIET]|'|+| | |)|FFF|(|FFF=[[#/OUTFILE|/O[UTFILEfilename ]] 
 +| | |!| | | |!| 
 +| | |`|GGG|'|GGG=[[#/QUIET|/Q[UIET] ]]
  
 </diagram> </diagram>
Line 46: Line 48:
 The name of the OS/2 program to be bound. BIND looks in the current directory unless you specify a complete path name. If you provide no extension, .EXE is assumed. The name of the OS/2 program to be bound. BIND looks in the current directory unless you specify a complete path name. If you provide no extension, .EXE is assumed.
    
-==== implibs ====+==== implib ====
  
 The names of one or more import libraries. Use this field if your program calls functions imported using import libraries. You can specify the file APILMR.OBJ, which provides a 64K default data segment when running in real mode. The names of one or more import libraries. Use this field if your program calls functions imported using import libraries. You can specify the file APILMR.OBJ, which provides a 64K default data segment when running in real mode.
Line 54: Line 56:
 The names of one or more libraries and object files. Use this field to supply object code needed to resolve dynamic-link calls. Separate file names with spaces. The names of one or more libraries and object files. Use this field to supply object code needed to resolve dynamic-link calls. Separate file names with spaces.
    
-BIND automatically searches for API.LIB and OS2.LIB. If you want additional libraries, be sure to specify the full path name.+BIND automatically searches for API.LIB and DOSCALLS.LIB/OS2.LIB. If used Vio/Mou/Kbd subsystem and/or DLL loading then DLL.LIB also linked. Depending on usage of AVS/AMS/AKS VIOSF.LIB, MOUF.LIB, KBDF.LIB searched, if used. Otherwise MOUS.LIB, VIOS.LIB, KBDS.LIB are linked. 
 + 
 +If you want additional libraries, be sure to specify the full path name.
                                      
 ==== options ==== ==== options ====
Line 68: Line 72:
 Displays Help Displays Help
  
-/M[AP]         Generates Link Map File+=== /MAP === 
 + 
 +Generates Link Map File 
 + 
 +=== /NAMES === 
 + 
 +Specifies Protected-Mode Functions 
 + 
 +=== /NOLOGO === 
 + 
 +Suppresses Sign-On Banner 
 + 
 +=== /OUTFILE ===
  
-/N[AMES]       Specifies Protected-Mode Functions+Specifies Name of Bound Program
  
-/NOLOGO        Suppresses Sign-On Banner+=== /QUIET ===
  
-/O[UTFILE]     Specifies Name of Bound Program+Suppress output
  
-/?             Displays Short Help+Source code can be found at https://github.com/osfree-project/osfree/tree/master/tools/bind Released under osFree (MIT) licence.
  
 {{page>en:templates:tktools}} {{page>en:templates:tktools}}