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

Pages: 1-4041-

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 2008-03-04 17:13

Remember when I told you not to do more retarded questions?
Because you'd anger an .. oh FUQ

    OKAY YOU FUQIN ANGERED AN EXPERT PROGRAMMER
    GODFUCKIGNDAMN
    FIRST OF ALL, YOU DONT FUQIN KNOW WHAT A MAN PAGE IS
    SECONDLY, THIS IS /prog/ DO NOT DEMAND USEFUL ANSWERS THE WAY YOU WANT THEM TO BE
    THIRDLY PROGRAMMING IS ALL ABOUT PHILOSOPHY AND ``ABSTRACT BULLSHITE'' THAT YOU WILL NEVER COMPREHEND
    AND FUQIN LASTLY, FUCK OFF WITH YOUR BULLSHYT
    EVERYTHING HAS ALREADY BEEN ANSWERED IN
>>2,2,2

Name: Anonymous 2008-03-04 17:14

This is my first time posting /prog/

Name: Anonymous 2008-03-04 17:16

M-x compile

Name: Anonymous 2008-03-04 17:16

>>3
back to /b/, please

Name: Anonymous 2008-03-04 17:22

>>5
was not a faggot from /b/

Name: Anonymous 2008-03-04 17:34

emacs tutorial does not tell me how to compile. I hate emacs.

Name: Anonymous 2008-03-04 17:46

>>7
Section 32 of the user manual does.

Name: Anonymous 2008-03-04 18:02

M-x compile-mode

Name: Anonymous 2008-03-04 18:02

Unfortunately their hasn't been a C compiler written in Elisp, so you won't be able to compile your C files with Emacs. However you can use Emacs to invoke GCC, which can compile your files.

Name: Anonymous 2008-03-04 18:09

>>10
What is GCC?
I used a command and it opened my dev-cpp (inb4 don't use dev-cpp)
more or less the same thing?

How do I ask it to invoke GCC?

Name: Anonymous 2008-03-04 18:09

>>10
Disgusting hack.

Name: 2012-01-08 10:34

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.

Name: Anonymous 2012-01-08 11:10

>>14
clang clang clang clang++

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-08 11:34

>>14
C++ is better than C.

Not really. The problem is that one group of engineers will use one subset of C++ and another group of engineers will use another subset. Then what happens is the build usually dies because none of the engineers could agree on which subset of C++ to use. Of course the only way you would have known something like this is if you would have actually worked out in industry as a computer programmer.

Also, Vim sucks compared to Archie from Plan9. But of course I don't expect a mental midget like yourself to know about such things. Now go run along and scrub another toilet.

Name: Anonymous 2012-01-08 11:36

>>14
Also, despite all the fixes in this loser language, C++ still fucks up recursion and templates are still buggy. But again, I wouldn't expect a mental midget like yourself to know about such shit.

Name: Anonymous 2012-01-08 11:45

>>16
Archie? Is that how you call Acme?

Name: Anonymous 2012-01-08 11:46

>>16,17
Plan 9
Calling other people mental midgets

IHBT

Name: Anonymous 2012-01-08 11:53

>>18
Yeah, my bad. Apparently the coffee hasn't kicked in yet -(.

Name: Anonymous 2012-01-08 11:55

>>19
Eh? I'm not the toilet scrubber that is telling the OP to switch to a loser language like C++. Seriously. Now go run along you dumb jew.

Name: Anonymous 2012-01-08 12:02

>>21
2012
Calling C++ loser language
Calling unknown people jews

Go to /b/, I think you like it there.

Name: Anonymous 2012-01-08 12:03

>>22
Well, you don't come off as the sharpest person. Now again, please tell me what you do for a living. Given your moronic responses, I'd be shocked if you worked for a company like Facebook or Google as a programmer.

Name: Anonymous 2012-01-08 12:05

>>23
2012
Telling me I'm not the sharpest person
Telling me I don't work for Facebook or Google
Implying these responses are moronic

IHBT

Name: Anonymous 2012-01-08 12:06

>>23
Putting Google and Facebook together is pretty low, even for mental midgets such as yourself.

Name: Anonymous 2012-01-08 12:08

>>24
You're still avoiding the question. What do you do for a living? Are you ashamed of the fact you work some shit hourly job?

Name: Anonymous 2012-01-08 12:11

>>26
Tell's me I'm mental midget
Expects me to tell what I do for living
Expects answer to his/her questions
Implies I'm ashamed of my job

Go to /b/, seriously.

Name: Anonymous 2012-01-08 12:13

>>27
Go make some more uneducated statements about C++ you dumbass.

Name: Anonymous 2012-01-08 12:17

Emacs?
Emacs is an operating system, if you want to do text editing use vim.

Name: Anonymous 2012-01-08 12:19

C?
C is for programming operating system, if you want to do software use C++

Name: Anonymous 2012-01-08 12:20

E?
E is for feeling good, if you want to feel good use E.

Name: Anonymous 2012-01-08 12:24

/prog/?
/prog/ is for faggots, if you want to talk to programmers use /g/.

Name: Anonymous 2012-01-08 12:33

>>32
Back to /g/, ``pleazu''.

Name: Anonymous 2012-01-08 12:41

/g/?
internet is for faggots, if you want to talk to programmers use real world.

Name: Anonymous 2012-01-08 13:03

real world?
real world is for...

EVERYTHING!

Want to talk to programmers? Talk to one.
Want to pick up hot chicks? Forcibly have sex with one. (you're too ugly)

Want to kill yourself? You can do that too!

YOU CAN DO ANYTHING IN THE REAL WORLD, ANYTHING AT ALL

The only limit is yourself.

Name: Anonymous 2012-01-08 13:18

>>34
Faggots?
Faggots are for gay people, if you want to have sex use females.

Name: Anonymous 2012-01-08 13:56

>>36
Females don't know how to suck cock properly. If you want your cock expertly sucked, you ask someone with a cock. Otherwise it's like eating food prepared by a chef with no sense of taste: sure, she can remember which things you seemed to like and mechanically repeat the steps, but she will never reach the level of someone who has immediate, first-hand experience with the subject.

Think about it.

Name: Anonymous 2012-01-08 14:20

>>37
ur a fag

Name: Anonymous 2012-01-08 14:28

>>37
So how often have you sucked you're own cock?

Name: Anonymous 2012-01-08 15:50

>>39
Awwnnn, teach me how to do that!

Name: Anonymous 2012-01-08 16:00

>>22
2012
/polecat kebabs/

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