From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rajinder Yadav Newsgroups: gmane.emacs.help Subject: Re: c/c++ project management and debugging Date: Tue, 21 Dec 2010 09:40:36 -0500 Message-ID: References: <4D0F4058.6050101@gmail.com> <87bp4foghd.fsf@notengoamigos.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292942923 11563 80.91.229.12 (21 Dec 2010 14:48:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 14:48:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jason Earl Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 21 15:48:39 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PV3VQ-00074K-CM for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Dec 2010 15:48:38 +0100 Original-Received: from localhost ([127.0.0.1]:55706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV3PF-0006zg-0u for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Dec 2010 09:41:37 -0500 Original-Received: from [140.186.70.92] (port=60866 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV3OM-0005Ik-RE for help-gnu-emacs@gnu.org; Tue, 21 Dec 2010 09:40:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PV3OH-0005Xn-DJ for help-gnu-emacs@gnu.org; Tue, 21 Dec 2010 09:40:39 -0500 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:61373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PV3OH-0005XY-Ab for help-gnu-emacs@gnu.org; Tue, 21 Dec 2010 09:40:37 -0500 Original-Received: by qyk10 with SMTP id 10so4007679qyk.0 for ; Tue, 21 Dec 2010 06:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Q+QYYCWXP1+jI4JALs517PtcfD0PdzajJwr2XvjOLQU=; b=duk6tuld7NWZHeNiO36hziC5qBYXtBrIqhryhPhNmuEKPFXbE+sBrz0cZ/x+hihSur 3QQohVytxCsrOVatPfsvmWznkzgLZFVJhDzUllK7sfMgSaNF5KeGFnXoYW82pSMuBR+1 DZuFYXvPA0U+PMEsDC6B0XLuMrs5iwwjTPchE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=T7qV8o7++PzLc02XWG0Hdrcr3XbR0zsoiYzDuJVXpETcXxE3vFo6GV8EqTM4a7dshB 96NS56VJc9d51odTXDebaXht05+C2qvfjM+i3xtEGW/kHFsEhf8c37hjhxC6rK8LoNAH mnPBK7/16hDpYbpVZvp/LZ/hBNjMYePcGRaVw= Original-Received: by 10.229.91.194 with SMTP id o2mr4946924qcm.138.1292942436549; Tue, 21 Dec 2010 06:40:36 -0800 (PST) Original-Received: by 10.229.75.75 with HTTP; Tue, 21 Dec 2010 06:40:36 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77734 Archived-At: On Tue, Dec 21, 2010 at 9:36 AM, Rajinder Yadav wrote= : > On Tue, Dec 21, 2010 at 12:13 AM, Jason Earl wr= ote: >> On Mon, Dec 20 2010, Rajinder Yadav wrote: >> >>> On Mon, Dec 20, 2010 at 8:47 AM, Andrea Crotti >>> wrote: >>>> Rajinder Yadav writes: >>>> >>>>> up to now i've been using emacs for ruby on rails, i want to get setu= p >>>>> so i can also do c/c++ development >>>>> >>>>> i come from a visualstudio ide background for c++ stuff, how can I >>>>> setup emacs to integrate the gnu tool chain, such that i can have >>>>> emacs generate makefiles and do the builds >>>>> >>>>> also how can i get a gui like ide gdb setup for debugging code >>>> >>>> Why, does visualstudio integrates with the gnu tool chain :O? >>>> I guess not, but that's what I understood from your sentences... >>> >>> no i wanted emacs to integrate with the gnu tool chain >>> >>>> Anyway with Cedet you can do a lot of stuff. >>>> It doesn't however generats any makefile, but if you learn to write th= em >>>> is not time wasted at all... >>> >>> yes i already have cedet installed and working, but i would rather not >>> write makefiles by hand. i understand there is also autoconf that can >>> be used to generate makefiles, possible that's a better way to go, >>> still i don't feel like investing the time to learn about autoconf at >>> this point and time >> >> There's no reason to write Makefiles by hand now that Emacs can do it >> for you. =A0M-x ede-new to create a new project (choose a "Make" project= ), >> then M-x customize-project. =A0For simple projects it is tons easier tha= n >> creating a Makefile by hand, especially considering all of the targets >> that EDE gives you for free. >> >> Plus, creating a project teaches Emacs how your project is organized. >> Not only does this allow you to easily run the build from inside Emacs, >> but it allows you to query and search your files by project as well. > > Thanks Jason, > > I knew there had to already be a way! What is EDE? Does it come with > CEDET or Emacs? I don't know much about CEDET yet other then I like > the syntax highlighting it gives me =3D) ok I just realized EDE is at the top of CEDET home poage, will take another look at this project feature! --=20 Kind Regards, Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely GNU/Linux: 2.6.35-22-generic Kubuntu x86_64 10.10 | KDE 4.5.1 Ruby 1.9.2p0 | Rails 3.0.1