From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: M-x compile problem (path problem) Date: 15 Mar 2005 22:27:08 +0100 Organization: [posted via Easynet Spain] Message-ID: <8764zsha6r.fsf@thalassa.informatimago.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110925406 30023 80.91.229.2 (15 Mar 2005 22:23:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2005 22:23:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 15 23:23:25 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBJb0-0004Uf-UE for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Mar 2005 22:28:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBJqx-0001q9-VJ for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Mar 2005 16:45:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!feed.news.tiscali.de!easynet-quince!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 27 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=5nG[g;\nQ?R\7PiFMKmF\QEY<>`XO4V7]>Uh 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24847 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24847 "Eric Lilja" writes: > [...] > But then when I tried to use debug mode (M-x gdb) it didn't find a symbol > table but I solved that by adding ../name_of_executable to > Run gdb (like this): gdb --annotate=3 ../name_of_executable Yes, or put a .gdbinit file along with the executable containing: directory src > If I try compile mode (M-x compile) it doesn't work because it cant find the > Makefile, so I added -f ../Makefile but it still won't work because the > [...] > Anyone have any other solutions?? make -C .. which is equivalent to: cd .. ; make -- __Pascal Bourguignon__ http://www.informatimago.com/ Cats meow out of angst "Thumbs! If only we had thumbs! We could break so much!"