From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP Date: Sat, 28 Mar 1998 16:07:55 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 31 Message-ID: <351D66AB.5FF2@cs.com> References: <351D5B36 DOT 4700160C AT together DOT net> NNTP-Posting-Host: ppp217.cs.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 thecoys wrote: > > This is probablly a stupid question, but I need to know. I've downloaded > your C compiler unzipped it, and added the autoexec lines. But now I > want to write a C program, how do I? Thanks for your time. You can use any text editor to create a program. It doesn't matter what it is, as long as it can write text files. DOS Edit, Windows Notepad, and many other editors will work. DJGPP also comes with two IDE-style editors: RHIDE, which resembles Turbo C, and GNU Emacs, which is a very complex and highly efficient editor/programming environment. RHIDE has been said to be very friendly to beginning programmers. If you want to compile on the command line, you simply run 'gcc', telling it what file you want to compile. To specify the target file, use the '-o' switch, as in "gcc -o myprog.exe myprog.c". For C++, use 'gpp' instead of 'gcc'. More instructions can be found in the file 'readme.1st', or in the DJGPP User's Guide at http://www.delorie.com/doc/ug/. It is vital that you read the documentation! hth! -- --------------------------------------------------------------------- | John M. Aldrich | "Animals can be driven crazy by pla- | | aka Fighteer I | cing too many in too small a pen. | | mailto:fighteer AT cs DOT com | Homo sapiens is the only animal that | | http://www.cs.com/fighteer | voluntarily does this to himself." | ---------------------------------------------------------------------