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/02 04:29] prokusheven:docs:tk:tools:bind [2024/10/22 02:39] (current) prokushev
Line 12: Line 12:
 | |`|drive|'|`|path|'| | |`|drive|'|`|path|'|
  
-|-@2|v|-|-|-|v|v|-|-|-|v|infile|-@2|+|-@2|v|-|-|-|v|v|-|-|-|v|infile|-@2|infile=[[#infile]]
 | |`|drive|'|`|path|' | |  | |`|drive|'|`|path|' | | 
  
-|-@2|v|-|-|-|v|v|-|-|-|v|implib|-@2|+|-@2|v|-|-|-|-|-|-|-|-|-|-|-|-|v|-@2| 
 +| |)|-|-|-|v|v|-|-|-|v|implib|'|implib=[[#implib]]
 | |`|drive|'|`|path|'| | |`|drive|'|`|path|'|
  
-|-@2|v|-|-|-|v|v|-|-|-|v|linklib|-@2|+|-@2|v|-|-|-|-|-|-|-|-|-|-|-|-|v|-@2| 
 +| |)|-|-|-|v|v|-|-|-|v|linklib|'|linklib=[[#linklib]]
 | |`|drive|'|`|path|'| | |`|drive|'|`|path|'|
 +
 +
 +|   |,|-|-|-|-|-|.| |
 +|-@2|^@1f|v|-|-|-|v|^|(|
 +| | |)|AAA|(|AAA=[[#/?]]
 +| | |!| | | |!|
 +| | |)|BBB|(|BBB=[[#/HELP|/H[ELP] ]]
 +| | |!| | | |!|
 +| | |)|CCC|(|CCC=[[#/MAP|/M[AP] [filename] ]]
 +| | |!| | | |!|
 +| | |)|HHH|(|HHH=[[#/LIBPATH|/L[IBPATH] searchpath ]]
 +| | |!| | | |!|
 +| | |)|DDD|(|DDD=[[#/NAMES|/N[AMES] [name | @filename] ]]
 +| | |!| | | |!|
 +| | |)|EEE|(|EEE=[[#/NOLOGO|/NOLOGO]]
 +| | |!| | | |!|
 +| | |)|FFF|(|FFF=[[#/OUTFILE|/O[UTFILE] filename ]]
 +| | |!| | | |!|
 +| | |`|GGG|'|GGG=[[#/QUIET|/Q[UIET] ]]
  
 </diagram> </diagram>
  
- BIND infile [implibs] [linklibs] [options]+==== infile ==== 
 + 
 +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 <infile> field is required; all others are optionalOptions +==== implib ==== 
-     must be entered last.+ 
 +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
 + 
 +==== linklib ==== 
 + 
 +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.
    
-     <infile>     The name of the OS/2 program to be boundBIND +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 linkedDepending on usage of AVS/AMS/AKS VIOSF.LIB, MOUF.LIB, KBDF.LIB searched, if used. Otherwise MOUS.LIB, VIOS.LIB, KBDS.LIB are linked. 
-                  looks in the current directory unless you specify + 
-                  a complete path name. If you provide no extension, +If you want additional libraries, be sure to specify the full path name.
-                  .EXE is assumed. +
-  +
-     <implibs>    The names of one or more import librariesUse this +
-                  field if your program calls functions imported using +
-                  import libraries.+
                                      
-                  You can specify the file APILMR.OBJ, which provides a +==== options ====
-                  64K default data segment when running in real mode. +
-                   +
-  +
-     <linklibs>   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. +
-                   +
-  +
-     <options>    +
      
-     BIND options must appear last on the command line. You can specify +BIND options must appear last on the command line. You can specify options in uppercase or lowercase and use a single letter or the full option name. For example, /M, /m, /MAP, and /map are equivalent. 
-     options in uppercase or lowercase and use a single letter or the + 
-     full option name. For example, /M, /m, /MAP, and /map are +=== /? === 
-     equivalent. + 
-  +Displays Help 
-     Option         Action + 
-  +=== /HELP === 
-     /HELP          Displays Help + 
-     /M[AP]         Generates Link Map File +Displays Help 
-     /N[AMES]       Specifies Protected-Mode Functions + 
-     /NOLOGO        Suppresses Sign-On Banner +=== /MAP === 
-     /O[UTFILE]     Specifies Name of Bound Program + 
-     /?             Displays Short Help+Generates Link Map File 
 + 
 +=== /NAMES === 
 + 
 +Specifies Protected-Mode Functions 
 + 
 +=== /NOLOGO === 
 + 
 +Suppresses Sign-On Banner 
 + 
 +=== /OUTFILE === 
 + 
 +Specifies Name of Bound Program 
 + 
 +=== /QUIET === 
 + 
 +Suppress output
  
 +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}}