烦请你说说命令行是怎么用的吧。
我用tlink命令得到的详细如下,没有-l参数呀?
Turbo Link Version 5.1 Copyright (c) 1992 Borland International
Syntax: TLINK objfiles, exefile, mapfile, libfiles, deffile
@xxxx indicates use response file xxxx
/m Map file with publics /x No map file at all
/i Initialize all segments /l Include source line numbers
/L Specify library search paths /s Detailed map of segments
/n No default libraries /d Warn if duplicate symbols in libraries
/c Case significant in symbols /3 Enable 32-bit processing
/o Overlay switch /v Full symbolic debug information
/P[=NNNNN] Pack code segments /A=NNNN Set NewExe segment alignment
/ye Expanded memory swapping /yx Extended memory swapping
/e Ignore Extended Dictionary
/t Create COM file (same as /Tdc)
/C Case sensitive exports and imports
/Txx Specify output file type
/Tdx DOS image (default)
/Twx Windows image
(third letter can be c=COM, e=EXE, d=DLL)
更奇怪的是当我试着用命令:
tlink \wattcp\apps\tcpinfo.obj \wattcp\lib\wattcpsm.lib tcp.exe
竟报出“ Fatal: Unable to open file 'tcp.exe ”?
tcp.exe 应由tlink生成才对呀?
(由于甚少用命令行编译链接,不妥之处请勿见笑,尽管指出就是了)