Mail Archives: djgpp/1999/10/16/09:29:51
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.
- Raw text -