help-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Grant Rettke
Subject: Re: How to build the C language environment in Emacs?
Date: Sat, 3 Jan 2015 08:50:09 -0600

Easiest thing to do is to install Vagrant and boot up a Linux box
there to get Emacs and a C compiler.

On Sat, Jan 3, 2015 at 3:04 AM, Quanyang Liu <lqymgt@gmail.com> wrote:
> On Sat, Jan 03 2015 at 12:34:59 +0800, Liu Shengyu wrote:
>> 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.
>>
>
> well...IIRC, using Emacs in windows is terrible...
>
>
>>
>> 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.
>> 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.
>> So can you help me about this question?
>
> In fact, maybe you can try to use the full path to your compiler. If it
> works, then you can make an alias.
>
>> 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?
>
> The built-in lisp in Emacs is elisp...
>
>



-- 
Grant Rettke
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson



reply via email to

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