comp.lang.ada
 help / color / mirror / Atom feed
From: "DuckE" <nospam_steved94@home.com>
Subject: Re: Can't redirect output from gnat-3.13p-nt
Date: Sat, 18 Aug 2001 03:14:13 GMT
Date: 2001-08-18T03:14:13+00:00	[thread overview]
Message-ID: <94lf7.30952$vW2.13715870@news1.sttln1.wa.home.com> (raw)
In-Reply-To: 9ljn0b$3kn$1@a1-hrz.uni-duisburg.de

I tested on W2K prior to my original post.
I just verified that the same works on NT 4.0 SP6.  It works there too.

If you try this and get an empty file, remember gcc does not produce any
output for a clean compile.  Only when there are errrors.

SteveD

"Georg Bauhaus" <sb463ba@l1-hrz.uni-duisburg.de> wrote in message
news:9ljn0b$3kn$1@a1-hrz.uni-duisburg.de...
> DuckE <nospam_steved94@home.com> wrote:
> : Try this one:
> :
> :  gcc -c proj.adb 2> errors.txt
> :
> : To redirects the error output (not the standard output) to a file.
>
> I don't think this will work in command.com, it does not in
> Windows NT cmd.exe. But the latter understands 2>&1, maybe this
> helps.
>
> Also, I have some vague memories of more usable shell replacements
> (4DOS?, pdksh?, bash?) which could provide redirection. You might
> have to start gvim from that replacement.
>
> Georg





  reply	other threads:[~2001-08-18  3:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-17  8:31 Can't redirect output from gnat-3.13p-nt Vincent Smeets
2001-08-17 13:28 ` Marin David Condic
2001-08-17 13:59 ` DuckE
2001-08-17 18:15   ` Georg Bauhaus
2001-08-18  3:14     ` DuckE [this message]
2001-08-23  5:42   ` Mats Karlssohn
2001-08-24  4:16     ` DuckE
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox