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: Mon, 20 Dec 2010 19:23:17 -0500 Message-ID: References: <4D0F4058.6050101@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1292891028 27756 80.91.229.12 (21 Dec 2010 00:23:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 00:23:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 21 01:23:42 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 1PUq0z-0002Id-KV for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Dec 2010 01:23:41 +0100 Original-Received: from localhost ([127.0.0.1]:54240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUq0z-0006sI-2V for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Dec 2010 19:23:41 -0500 Original-Received: from [140.186.70.92] (port=54582 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUq0c-0006sD-S9 for help-gnu-emacs@gnu.org; Mon, 20 Dec 2010 19:23:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUq0b-0008Q5-L9 for help-gnu-emacs@gnu.org; Mon, 20 Dec 2010 19:23:18 -0500 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:41640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUq0b-0008Q1-G1 for help-gnu-emacs@gnu.org; Mon, 20 Dec 2010 19:23:17 -0500 Original-Received: by qyk7 with SMTP id 7so4147631qyk.0 for ; Mon, 20 Dec 2010 16:23:17 -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:content-type; bh=jV8i/agHSD8WcBbsj7I1QREiIw2B4nhvvTNTkXHaZfM=; b=SrIHGqtWsaK5lXboqgQEOSThjqjdWyQUf1tLL5hjJgmb6unysR6K9axTyd/IOCecVW wsQQiv5c5aISdjIaGMv92DtVCgsGwZkoQI4tVoISSPBb92O8EgXvhbOW0ooHAn6leGe5 Q5mF2gMHsRBUBD83N/OcK39jr2WvNwHPRcxgQ= 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 :content-type; b=qPooR95UGDFOmQxLzHtWUSzKEVrhorV9Kq1l5ejZpuD8E6ONX/x1zBYXOw0jZXZmEH mQOMpShU9cPjcQGbrdOOMQqubMYGANtzvvcgy9VmyUmjZX8r2/MCTiSIWPF0R429vFtY 03P28J/8DIR3IM+xeEqP2VJVqtTXmUKnuL0O0= Original-Received: by 10.229.100.76 with SMTP id x12mr4264708qcn.252.1292890997111; Mon, 20 Dec 2010 16:23:17 -0800 (PST) Original-Received: by 10.229.75.75 with HTTP; Mon, 20 Dec 2010 16:23:17 -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:77710 Archived-At: 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 setup >> 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 them > 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 > > Gdb integration works quite well already, the only important parameter > for gdb imho is (setq gdb-many-windows t) > > and then just try something you'll see if you like it. yes i discovered this gdb setting on the emacs-fu blog, however i have 2 questions 1) when i have EBC opened gdb-many-windows end up looking like a mess, is there a way to get it to work with EBC? 2) i can't figure out how to set breakpoint, can't i simple click someone in the source window to add a bp? -- 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