help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-x compile problem (path problem)


From: Eric Lilja
Subject: Re: M-x compile problem (path problem)
Date: Tue, 15 Mar 2005 23:47:09 +0100

"Pascal Bourguignon" wrote:
> "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!"

Thanks, Pascal, make -C .. works great, but I don't see what the .gdbinit 
file does for me...when doing M-x gdb I still have to point out the 
executable by passing ../name_of_exe to gdb.

/ Eric 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]