From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Grant Rettke Newsgroups: gmane.emacs.help Subject: Re: How to build the C language environment in Emacs? Date: Sat, 3 Jan 2015 08:50:09 -0600 Message-ID: References: <54a773933fe5_@_imoxion.com> <86k314me0k.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1420296633 29728 80.91.229.3 (3 Jan 2015 14:50:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2015 14:50:33 +0000 (UTC) Cc: Emacs Help To: Quanyang Liu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 03 15:50:24 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y7Q23-0006n8-Td for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 15:50:24 +0100 Original-Received: from localhost ([::1]:54545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Q23-0002tX-Au for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jan 2015 09:50:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Q1r-0002tR-Nj for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 09:50:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7Q1q-0004qh-Kl for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 09:50:11 -0500 Original-Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:63271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7Q1q-0004q3-Dz for help-gnu-emacs@gnu.org; Sat, 03 Jan 2015 09:50:10 -0500 Original-Received: by mail-wg0-f46.google.com with SMTP id x13so25523775wgg.33 for ; Sat, 03 Jan 2015 06:50:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=8E8G/xfpqO6MeUj9Ch1V1utuinYWr2zYySVjgFNP2Yc=; b=jOYguXUFdlzc7rOGTletq2rVFz0gkJPPJObq4DZQQJZ0j2q7fDjC3urxAfNp+Ukuks EhSBVkZgv8hkI+YDTJSZDCtpQyVZW+qVz5vWyhf0mzJHInfFtAYIZQrluceZbzVYg9ha SX8Umhsfsy3KwX7arevPYmCBX1qPYpWfdUt4kO0Xr+AUvG4g8V+tmvQdvrWthq7wU5Pt SYAnXT3ac0WoOCzl80+HZvSyRC9BgkD2aw4o0PDVS/f7B+MlK7zgRDQKizR96NIE7zrA fFzlwSs7QPx3B9wREYVgAAC04sYEbOftA+m79457jW5FYCN5AeoQ1ugUEHzUe1/9t2Ft G2MA== X-Received: by 10.180.98.197 with SMTP id ek5mr7547637wib.35.1420296609762; Sat, 03 Jan 2015 06:50:09 -0800 (PST) Original-Received: by 10.27.9.16 with HTTP; Sat, 3 Jan 2015 06:50:09 -0800 (PST) In-Reply-To: <86k314me0k.fsf@gmail.com> X-Google-Sender-Auth: eAZs3d9tPDufD14-U8a7imQ041Q X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101865 Archived-At: 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 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. =EF=BB=BFI have been installed MinGW in my computer, and I have be= en >> 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-synt= ax "#") >> 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... > > --=20 Grant Rettke gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson