[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x compile problem (path problem)
From: |
Pascal Bourguignon |
Subject: |
Re: M-x compile problem (path problem) |
Date: |
15 Mar 2005 22:27:08 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
"Eric Lilja" <mindcooler_thisshouldberemoved@gmail.com> 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!"