Mail Archives: djgpp/1998/10/22/03:04:36
On Wed, 21 Oct 1998, KaiohShin wrote:
> -Compile a Source file
This is described in the file README.1ST and in Chapter 1 of the FAQ
(v2/faq211b.zip from the same place you get DJGPP).
> -Make the executable how specified in the project file
> -Rebuild the executable as specified in the project file
Which ``project'' is that?
> -Start the debugger
Short answer: "gdb yourprog.exe". For more info, see section 12.1 of
the FAQ.
> -Run the executable
Just run it, it's a normal .exe program.
> 2)And also, I saw that when i compile a program using gcc prog.c he
> gives me an a.exe. Should I use "ren" to change its name or I can also
> use a different command line?
gcc prog.c -o prog.exe
a.exe is the default name if you don't give the -o switch. You can
also rename a.exe, but that gets tedious with time.
- Raw text -