From: Eli Zaretskii <eliz@gnu.org>
To: "Milind Ganjoo" <milganz@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Standard error output in Emacs
Date: Fri, 07 Sep 2007 21:33:46 +0300 [thread overview]
Message-ID: <u1wdatjed.fsf@gnu.org> (raw)
In-Reply-To: <222dce70709070714j4870925dkc42438f75fb34e44@mail.gmail.com> (milganz@gmail.com)
> Date: Fri, 7 Sep 2007 19:44:04 +0530
> From: "Milind Ganjoo" <milganz@gmail.com>
>
> 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.
next prev parent reply other threads:[~2007-09-07 18:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 14:14 Standard error output in Emacs Milind Ganjoo
2007-09-07 18:33 ` Eli Zaretskii [this message]
2007-09-08 7:01 ` Richard Stallman
2007-09-08 8:24 ` Milind Ganjoo
2007-09-08 9:19 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u1wdatjed.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=milganz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.