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-22 22:41:03 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!194.213.69.151!news.algonet.se!algonet!pepsi.tninet.se!not-for-mail From: Mats Karlssohn Newsgroups: comp.lang.ada Subject: Re: Can't redirect output from gnat-3.13p-nt Date: Thu, 23 Aug 2001 07:42:47 +0200 Organization: MIDA Systemutveckling AB Message-ID: <3B8497D7.AE88D464@mida.se> References: <3B7CD645.6597796F@CCI.Sema.de> NNTP-Posting-Host: du119-155.ppp.algonet.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: zingo.tninet.se 998545156 7785 195.100.155.119 (23 Aug 2001 05:39:16 GMT) X-Complaints-To: abuse@algo.net NNTP-Posting-Date: 23 Aug 2001 05:39:16 GMT X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:12308 Date: 2001-08-23T05:39:16+00:00 List-Id: DuckE wrote: > > Try this one: > > gcc -c proj.adb 2> errors.txt > > To redirects the error output (not the standard output) to a file. As I remember it that will not work with the cmd.exe shell (command interpeter) in Windows NT4. A workable solution is to get CygWin, then you'll get bash (where the redirection actually works). -- Mats Karlssohn, developer mailto:mats@mida.se Mida Systemutveckling AB http://www.mida.se Box 64, S-732 22 ARBOGA, SWEDEN Phone: +46-(0)589-89808 Fax: +46-(0)589-89809