delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/12/05/02:15:25

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: make within VIM, error message lost in quickfix.
Date: Fri, 4 Dec 2009 23:07:57 -0800 (PST)
Organization: http://groups.google.com
Lines: 26
Message-ID: <1d496682-813f-4996-9cd6-5d5d1800b689@c34g2000yqn.googlegroups.com>
References: <77B1407808B440719A209B1FF3A40985 AT viatech DOT com DOT bj>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1259996877 872 127.0.0.1 (5 Dec 2009 07:07:57 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sat, 5 Dec 2009 07:07:57 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: c34g2000yqn.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0,gzip(gfe),gzip(gfe)
Bytes: 2195
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On Dec 3, 3:11=A0am, "Wayne Wang" <broc DOT  DOT  DOT  AT gmail DOT com> wrote:
>
> I'm used to work with bash and vim in DJGPP, but I always have some probl=
em
> when compile the souces in VIM.
> I set shell to bash in vim, and when run :make, I want the compiling erro=
r
> could be directed to quickfix window.
> However, only the standard outputs were displayed in the quickfix, compil=
ing
> errors were displayed in the screen from error output.
>
> So, please, anyone know how to let all the outputs displayed in the quick=
fix
> window.

I haven't ever used VIM for compiling, so I can't say what the best
answer is. However, GCC prints errors on stderr, which by default
probably isn't being redirected. Bash should support "2>" or ">&" or
just use DJGPP's Redir.exe (e.g. "redir -eo gcc blah.c -o blah.exe" or
"redir -eo make").

Is that what you meant? For VIM specific questions, you could also ask
on news://comp.editors as they are obsessed with it over there.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019