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

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

Re: gdb emacs no such file or directory gdb


From: Mike
Subject: Re: gdb emacs no such file or directory gdb
Date: Tue, 21 Oct 2014 06:34:03 -0700 (PDT)
User-agent: G2/1.0

On Tuesday, October 21, 2014 2:44:15 AM UTC-4, Suvayu Ali wrote:
> On Mon, Oct 20, 2014 at 05:12:59PM -0700, Mike wrote:
> 
> > Hi guys,
> 
> > 
> 
> > I have just decided to use Emacs and GDB for my FORTRAN coding. Everything 
> > seem to work perfectly, but the GDB and Emacs integration. I know GDB is 
> > working fine since I can operate it in terminal, but as soon as I try to 
> > use it in Emacs I get "no such file or directory gdb".
> 
> > 
> 
> > This problem is probably related to disagreement between the PATH in a 
> > shell and my Emacs exec-path as already discussed in  
> > https://groups.google.com/forum/#!topic/gnu.emacs.help/WkjoK2L57rE.
> 
> 
> 
> Maybe you can try something like this in your init file:
> 
> 
> 
> ;; set PATH to use standalone texlive instead
> 
> (setenv "PATH" "/opt/texlive/2014/bin/x86_64-linux:$PATH" t)
> 
> 
> 
> Hope this helps,
> 
> 
> 
> -- 
> 
> Suvayu
> 
> 
> 
> Open source is the future. It sets us free.

Thank Suvayu for your reply.
In fact, I am migrating from windows (and Code Block) to mac (and Emacs), so I 
am quite new to OS X 10.10 and Emacs.
Could you please tell me how I can set the PATH as you said.
Thank you.


reply via email to

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