Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

emacs halp

Name: Anonymous 2008-03-04 17:09

I just got emacs, just learning C
/prog/ help.
I'm not expert enough to read SICP yet, so inb4 that.

How do I compile something written in C on emacs?

I expect many trolls, one serious answer at least would be nice.

Name: Anonymous 2012-01-08 11:01

>>1

Ok, so you want to use Emacs and compile a program written in C. Don't do that.

What to do instead:

Here's how you do it: First, install vim (if not installed), second install gcc (if not installed), third install make (if not installed). Then you write a makefile, man make should give you required info about that. After that you open vim and type :make and press enter.

Now, you didn't say what operating system you are using, so I can't advice on how to install the programs I mentioned.


What to do next:

Next step would be to install g++, which is like gcc, but it compiles C++ code. You use vim to program C++. C++ is better than C.

Also, some people try to tell you to program in Lisp instead. Don't listen to them. Remember that GC is shit.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List