From: Weiqi Gao Newsgroups: comp.os.msdos.djgpp Subject: Re: .COM's with DJGPP? Date: Sat, 18 Apr 1998 13:46:07 -0500 Organization: Spectrum Healthcare Services Lines: 29 Message-ID: <3538F4EF.A11E233D@a.crl.com> References: <35379F0B DOT 6F79F86F AT indigo DOT ie> <3537F565 DOT 3C1CCCA2 AT a DOT crl DOT com> <3538D4C4 DOT 6919240 AT lr DOT net> NNTP-Posting-Host: a116009.stl1.as.crl.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Isaac Waldron wrote: > > Weiqi Gao wrote: > > > > rename prog.exe prog.com > > I don't believe that simply renaming prog.exe to prog.com will give the > intended result. I wonder what the intended result is... a situation where a .COM is required while an .EXE will not suffice? > In fact, it will probably hang the machine when run! It probably will not hang the machine when run! Who knows about such details? We may never find out. > DOS .com files are a special breed of executable that that must be under > a certain size (I don't know what it is) and contains direct Intel > machine codes. COM files can be written with either NASM (the Netwide > Assembler, available free at www.cryogen.com/nasm) or the DEBUG program > that comes with DOS. or vi, with the help of the Alt-Numbers keys. > I don't believe that DJGPP can output this type of > executable. -- Weiqi Gao weiqigao AT a DOT crl DOT com