[Top][All Lists]

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

Re: Standard error output in Emacs

From: Eli Zaretskii
Subject: Re: Standard error output in Emacs
Date: Fri, 07 Sep 2007 21:33:46 +0300

> Date: Fri, 7 Sep 2007 19:44:04 +0530
> From: "Milind Ganjoo" <address@hidden>
> The standard error output from programs like DJGPP's gcc is not
> captured by Emacs. When compiling a C++ source file using gpp in
> Emacs, a compile error results in an abnormal exit code of 2, but the
> *Compilation* buffer does not show the exact errors.

I cannot reproduce this with the latest DJGPP binaries from
www.delorie.com.  Do you have the same problem in "emacs -Q"?  If the
problem goes away with "emacs -Q", maybe something in your .emacs
causes this problem.

If "emacs -Q" does not help, maybe you have set things so that Emacs
invokes the DJGPP commands though some non-standard shell.  My system
is set up to invoke cmdproxy, which is the default on Windows.

Also, I see that you tried to use the `redir' command to redirect
stderr.  If that's the way you invoked GCC, please try to invoke it
without `redir', as the "M-x compile" normally redirects stderr to the
"*Compilation*" buffer automatically, so `redir' should not be needed.

Finally, if nothing helps or gives a clue, these could be problems
specific to Windows Vista (I use XP SP2).

In general, I'd suggest to use DJGPP programs only with the DJGPP
build of Emacs (Emacs 22.1 should build with DJGPP just fine).  If you
want to use the Windows version of Emacs, I suggest to install MinGW
GCC and development tools and use that instead.

reply via email to

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