Category : C Source Code
Archive   : C_WNDW.ZIP
Filename : COMPLINK.QUI

 
Output of file : COMPLINK.QUI contained in archive : C_WNDW.ZIP
REM parameter is program name to be compiled, linked and run
REM format of entry is "COMPLINK PROGRAM"
REM Note that the ".c" suffix is omitted
if NOT EXIST \qc\marietta\%1.c GOTO END
copy \qc\marietta\%1.c program.c
bin\qcl /c /Iinclude /W2 /AS program.c
if EXIST lib\slibce.lib GOTO LINK1
if EXIST lib\slibc7.lib GOTO LINK2
bin\link program, , NUL, lib\c_wndw+lib\SLIBC+lib\LIBH /NOI /NOD /ST:10000
GOTO RUN1
:LINK1
bin\link program, , NUL, lib\c_wndw+lib\SLIBCE /NOI /NOD /ST:10000
GOTO RUN1
:LINK2
bin\link program, , NUL, lib\c_wndw+lib\SLIBC7 /NOI /NOD /ST:10000
GOTO RUN1
:RUN1
PAUSE examine compile for errors, then press any key
program
:END


  3 Responses to “Category : C Source Code
Archive   : C_WNDW.ZIP
Filename : COMPLINK.QUI

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/