Emacs Quick compile/setup (Windows CMD style LOL)

From Marks Wiki
Jump to navigation Jump to search

Well for those of you that has trouble using the given compile commands on the codes, follow this compile command on emacs. the given command dosent work all the time because it expects the linux shell (or what ever its calld), and to figure out where and how to fix it is a pain... so im just sticking to the compiling in windows, and for thos of you who wants to do the same, just type in the .exe at the on the file your running...

Eg.

gcc BOB.c -o BOB && BOB.exe

or

gcc -Wall BOB.c -o BOB && BOB.exe

well, make sure your file is called BOB, if not, make sure to change the file name accordingly... hehe, enjoy...