 |
 |
Compiling in MacOS X
|
 |
|
 |
|
Addicted to MacNN
Join Date: Sep 2000
Location: The Rock
Status:
Offline
|
|
I'm writing some C programs in emacs for a programming course. However, this emacs is nothing like what I use on our Wintel machines at the university -even the key commands are different. As well (and more importantly), I don't seem to be able to find a compiler.
Is there a built-in compiler for MacOS X (or in emacs itself, like I'm used to)? If so, where would I find it - or, if not, the same thing.....
greg
------------------
Though the day's been
really long
I still feel I'm close to
nowhere....
|
|
Mankind's only chance is to harness the power of stupid.
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Sep 2000
Location: Ronneby, Sweden
Status:
Offline
|
|
Try using "cc" in the terminal. It's a c and objective c compiler (at least that's what the man page says). A good idea is to look at the developer forum for more info on compilers and editors.
I guess you use the graphical version of emacs in your school. There is a thread about this in the developer forum. Basically there is a carbonized version but it's from a very old version of emacs so even though you get the interface you don't get all the features (I havn't used it myself but that's what I've read).
/Gabbe
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2000
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Sep 2000
Location: The Rock
Status:
Offline
|
|
Hmmm...not sure what you mean..."cc filename"? That gives me "OK? wc filename?", which then defaults to "NO" no matter what I do. Anyone else know what I'm doing wrong???? I'm in a tizzy here....
greg
------------------
Though the day's been
really long
I still feel I'm close to
nowhere....
|
|
Mankind's only chance is to harness the power of stupid.
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Dallas, Texas
Status:
Offline
|
|
What they forgot to ask was if you had the developer's tools installed. If not, you can sign up to be an Apple developer and download them. The basic membership is free (web only) so it should be fine for you.
|

[FONT="Trebuchet MS"] Fully dynamic web site Starting Points.[/FONT]
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Sep 2000
Location: The Rock
Status:
Offline
|
|
You mean I need the developer's tools just to write any program at all?
Ah. That MIGHT be my problem....
Thanks......
greg
------------------
Though the day's been
really long
I still feel I'm close to
nowhere....
|
|
Mankind's only chance is to harness the power of stupid.
|
| |
|
|
|
 |
|
 |
|
drosenth
|
|
BTW: more info on the carbonated Emacs... It's version 19.14 and is *DAWWWG* slow. I love emacs; but, I'll stick with the Terminal.app-bound, fast, v.20.7.1 version.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Sep 2000
Location: The Rock
Status:
Offline
|
|
You mean there's another, faster program included in the terminal? How do I access it????
I'm new to all this stuff...especially Unix, so it's confusing sometimes...
greg
------------------
Though the day's been
really long
I still feel I'm close to
nowhere....
|
|
Mankind's only chance is to harness the power of stupid.
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Sep 2000
Location: Ronneby, Sweden
Status:
Offline
|
|
I think he refers to the version of emacs that you run "inside" the terminal. Just write "emacs" without the " in a terminal and emacs will start.
Good luck
/Gabbe
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|