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

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

[h-e-w] MSYS bash shell in Emacs?


From: David Vanderschel
Subject: [h-e-w] MSYS bash shell in Emacs?
Date: Sun, 26 Jun 2011 14:24:52 -0500

Is it worth trying to get the bash shell provided with MSYS to run as a shell in Emacs? If it is possible and productive, how can one achieve it?


Among the issues:

0. Using Emacs's compile command.

1. Allowing Emacs to handle error reports out of gcc, so that Emacs will take you straight to the code line of a reported problem.

2. Running gdb in Emacs.


No Cygwin here.

I know I can run bash as my shell in Emacs. However, I think the issue here is to get the same environment that the MSYS shell has so that gcc will work correctly. I only just recently installed MinGW, and I have very little experience with it; so please do not hesitate to point out any wrong assumptions I am making. Right now, I am compiling using the MSYS console and then switching back to an Emacs shell to execute the compiled program so that I can more easily access its standard output as text. (The copy and paste functionality of the MSYS console is pretty clumsy.) I am manually tracking down compiler error reports, and I have not even tried to use gdb yet. My OS is Windows XP.

Regards,
  David V.




reply via email to

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