PDA

Click to See Complete Forum and Search --> : DJGPP help


kikelinus
Feb 24th, 2002, 05:16 PM
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.

parksie
Feb 24th, 2002, 05:30 PM
Rename it to have a .exe extension :)

kikelinus
Feb 24th, 2002, 05:48 PM
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.