From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f65590b82b0eac10 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-17 20:14:13 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttln1.wa.home.com.POSTED!not-for-mail From: "DuckE" Newsgroups: comp.lang.ada References: <3B7CD645.6597796F@CCI.Sema.de> <9ljn0b$3kn$1@a1-hrz.uni-duisburg.de> Subject: Re: Can't redirect output from gnat-3.13p-nt X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <94lf7.30952$vW2.13715870@news1.sttln1.wa.home.com> Date: Sat, 18 Aug 2001 03:14:13 GMT NNTP-Posting-Host: 24.248.45.203 X-Complaints-To: abuse@home.net X-Trace: news1.sttln1.wa.home.com 998104453 24.248.45.203 (Fri, 17 Aug 2001 20:14:13 PDT) NNTP-Posting-Date: Fri, 17 Aug 2001 20:14:13 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:12086 Date: 2001-08-18T03:14:13+00:00 List-Id: 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" wrote in message news:9ljn0b$3kn$1@a1-hrz.uni-duisburg.de... > DuckE 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