[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to build the C language environment in Emacs?

From: Pascal J. Bourguignon
Subject: Re: How to build the C language environment in Emacs?
Date: Sat, 03 Jan 2015 09:45:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Liu Shengyu<> writes:

> Dear 
> I have learned Emacs for a few days by myself.
> And I have been read some books about simply uses of Emacs.
> But I have some questions about how to use it practically.
> My computer is not MAC, and my system is Windows 7.
> 1.  I have been installed MinGW in my computer, and I have been
> checked in MSDOS, and also have been set envionment variables in PATH.
> But I still can't compile C file. 

What do you do to compile C files?

> Emacs tells that gcc is not a internal or external command.
> I think maybe I need to write some commands in ~.emacs to combine GCC
> and Emacs, but i don't know to do it.

That would be ~/.emacs

> So can you help me about this question?

Hardly.  Read the above url.

> 2.    I wanna compile (+ #c(0 1.0) 2)
> But Emacs tells me that Debugger entered--Lisp error: (invalid-read-syntax 
> "#")
> Why this simply syntax # is not a built-in syntax in my Emacs.
> How to solve this kind of problem?

This is not emacs lisp syntax, but Common Lisp syntax.  Therefore you
will have to install a Common Lisp implementation.

__Pascal Bourguignon__       
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]