From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP renames source when creating exe Date: Sat, 09 Aug 1997 13:38:30 -0700 Organization: Alcyone Systems Lines: 24 Message-ID: <33ECD546.1F2037B3@alcyone.com> References: <01bca4fd$c430b9a0$4215d826 AT boliveri> NNTP-Posting-Host: newton.alcyone.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 bill oliveri wrote: > gnn chncase.c gnn? > Creates: > > A.exe This is standard behavior. Under Unix, when you don't specify what executable name you want, it writes a.out. Since files must end with COM or EXE to be executable under DOS, DJGPP writes a.exe. Use the -o command line argument if you want to name the resulting executable. -- Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "Love is not love which alters / when it alteration finds." / William Shakespeare, _Sonnets_, 116