Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - link http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LINK

This links the object files together to form an executable program.

LINK object files, exe file, map file, library files [switches...] ;

 object files    object files separated with +'s
 exe file        name for the resulting .EXE file
 map file        name for the .MAP file
 library files   library files and directories separated with +'s

 switches:
 /CO[DEVIEW]         ignored
 /CR[OSSREF]         write a cross reference file in "mapfile.CRF"
 /CT[DTTABLESIZE]:nn set size of _CTDT_PTR table to nn 256 is default
 /DO[SSEG]           special segment ordering used by C
 /HE[LP]             print this
 /I[NFORMATION]      print info as linker executes
 /LI[NENUMBERS]      include line numbers in .MAP file
 /M[AP]              write a full map file
 /MO[REINFORMATION]  print more info as linker executes
 /NOC[TDTWARNING]    don't warn when _CTDT_PTR table overflows
 /NOD[EFAULTLIBRARYSEARCH] ignore libraries specified in .OBJ files
 /NOI[GNORECASE]     become case sensitive
 /ST[ACK]:nn         set stack size of exe file to nn

Object files are searched for in the current directory then in the LIB
environment  path.   Library  files are searched for  in  the  current
directory,  then  directories specified or then in the LIB environment
path.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson