Outline ·
[ Standard ] ·
Linear+
Compiling C programs
|
TSTereno
|
Feb 25 2006, 06:42 PM, updated 20y ago
|
|
Hey there. I am using Dev C++ for programming in C. I would like to compile my programs so that they will be "a.out" instead of "a.exe". How do I do this? I have tried compiling under Cygwin which is a UNIX port..It used to give me the "out" extension but now it just gives me the "exe" extension. Anyone know?
|
|
|
|
|
|
amirsubhi
|
Feb 25 2006, 07:20 PM
|
|
hurm..nope sure bout windows...if at linux..simply gcc -g blabla.c -o blabla.out
|
|
|
|
|
|
TSTereno
|
Feb 25 2006, 07:25 PM
|
|
bleh..looks like i have to go back to linux to do my assignment..though i really wish that i can do it over windows..it worked before but for some strange reason, it doesn't anymore..
|
|
|
|
|
|
TSTereno
|
Feb 25 2006, 07:43 PM
|
|
alright..i've found out that by default the compiler compiles to exe..and it uses gcc..
also noticed that -o beta beta.c will automatically result in beta.exe unless i specify an ending to it.
This post has been edited by Tereno: Feb 25 2006, 07:43 PM
|
|
|
|
|
|
SnoWFisH
|
Feb 25 2006, 09:05 PM
|
|
just go download a gcc command line compiler lo...i think ming gcc compiler can do it.
|
|
|
|
|