How do I compile and run a C program using the DJGPP compiler? I am using windows98.
I try doing: gcc program.c, and it outputs an "a.out" file, like in linux...!?
Thanks.
Printable View
How do I compile and run a C program using the DJGPP compiler? I am using windows98.
I try doing: gcc program.c, and it outputs an "a.out" file, like in linux...!?
Thanks.
Rename it to have a .exe extension :)
Oops, sorry, my bad....I didn't realize that the compiler made an a.exe also....I just didn't see it since i had tons of other .exes in the same folder.. :D
Thanks anyways.