Mail Archives: djgpp/1998/10/09/21:32:31
> STEPHEN FURNISS wrote:
>
> hello i wondered if anybody could help me,i have just obtained a copy
> of the "c" compiler "djgpp",i have unzipped all the files as per the
> instructions
> but i do not know which program to start that allows me to write a "c"
> program
> and which program to use to compile and run it.
> i am new to using this compiler so i would really appreciate some help
> in this matter.
> up to now i have tried to run the program "gcc",but all i get back is
> no input file,does this mean i am trying to compile a program before
> i have even written it ?.
> if this is so i need to now what application to start that allows me
> to
> write the program.
Yes, `gcc' is a command line compiler, so you have to write the source
before compiling it. You can use any text editor to write your source;
DOS EDIT may work fine to start. Save it as a *.c file, then say
something like
gcc -o foo.exe foo.c
As an alternative, there's a program called RHIDE which integrates
editing, compiling and debugging. You can find it where you got DJGPP.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -