From: CDH Newsgroups: comp.os.msdos.djgpp Subject: Re: use Djgpp compiler Date: Sat, 16 Oct 1999 06:06:15 -0700 Organization: me Lines: 36 Message-ID: <38087847.D04C9FE1@scs.unr.edu> References: <38084AC0 DOT 51BFB55D AT learn DOT senecac DOT on DOT ca> NNTP-Posting-Host: 134.197.85.128 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Wen Cong Su wrote: > > Hi > >> I 'm a first time user of your C C++ compiler. I was just >> wondering how to you open the Djgpp C C++ compiler? The compiler is invoked with the command line "gcc". >>And how do you open the editor to create a program ? DJGPP does not include an editor. You can use any ascii editor, or you can download RHIDE, which is an Integrated Development Environment similar to Borlands, but designed specifically for DJGPP. >>How do your compile the program? If you are using RHIDE, press Ctrl-F9. If you aren't using RHIDE type something like "gcc -o myprog.exe myprog.c". >>And how do you give a name to the file when you compile it > (in phobos I use the command a.c -o a which name the program a.c a.) ? If you are using RHIDE you can set the targetfile somewhere in the menus. If you aren't using RHIDE, just change myprog.exe in the previous example to whatever you want. >>The last and final question is this compiler same as >> phobos in the way program written ? I don't know what phobos is like. DJGPP compiles ansi-compliant C code, K&R C code, and more. There is, by the way, a FAQ around somewhere. You can check www.delorie.com for one.