Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!rutgers!bellcore!faline!thumper!ulysses!mhuxo!mhuxu!att!cbnews!shurr From: shurr@cbnews.ATT.COM (Larry A. Shurr) Newsgroups: comp.sys.ibm.pc Subject: Makeing .COM files with TC (was Re: TC 2.0, A86) Message-ID: <4280@cbnews.ATT.COM> Date: 23 Feb 89 18:21:43 GMT References: <51031@yale-celray.yale.UUCP> <47200030@hcx1> Reply-To: cbema!las@cbnews.ATT.COM (Larry A. Shurr) Organization: AT&T Bell Laboratories (actually an AGS consultant) Lines: 22 In article <47200030@hcx1> ldh@hcx1.SSD.HARRIS.COM writes: >>In article <47200029@hcx1> somebody writes: >>While I'm here, does anybody know how to use TC 2.0 to generate .COM >>files? >In the tcc mode, the "-l" is a "pass this option to the linker" compiler >option. In your case, use "-lt" (/t=generate .com file) ... no obvious way >from the "environment" With tcc you must also compile using "tiny" model using the "-mt" option. In the integrated environment you can use the compiler option menu to select the tiny model. The integrated compiler will still produce a .EXE file which can be run as an .EXE file or converted to a .COM using the exe2bin command. If the integrated environment can be induced to produce a .COM file directly, I don't know how it is done. Anyone else? regards, Larry -- Signed: Larry A. Shurr (att!cbnews!cbema!las or osu-cis!apr!las) Clever signature, Wonderful wit, Outdo the others, Be a big hit! - Burma Shave (With apologies to the real thing. The above represents my views only.)