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 06:59:47 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.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> 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: Date: Fri, 17 Aug 2001 13:59:46 GMT NNTP-Posting-Host: 24.248.45.203 X-Complaints-To: abuse@home.net X-Trace: news1.sttln1.wa.home.com 998056786 24.248.45.203 (Fri, 17 Aug 2001 06:59:46 PDT) NNTP-Posting-Date: Fri, 17 Aug 2001 06:59:46 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:12044 Date: 2001-08-17T13:59:46+00:00 List-Id: Try this one: gcc -c proj.adb 2> errors.txt To redirects the error output (not the standard output) to a file. SteveD "Vincent Smeets" wrote in message news:3B7CD645.6597796F@CCI.Sema.de... > Hallo, > > I have installed the GNAT compiler from gnat-3.13p-nt.exe on my > Windows98 computer. > > When I compile a file, I can't redirect the output to a file. It will > always be displayed in a window. When there are many errors, I can't see > the first one. I use the command: > gcc -c prog.adb >errors.txt > > Is there a way to get the errors in a file? I use the gvim-editor and it > can then jump directly to the location of the error if it has a file > with the errors.. > > I'm asking for redirecting the output. I'm not asking for an other > editor which can also jump to the error location! > > Thanks, > Vincent > > -- Vincent Smeets Competence Center Informatik GmbH > -- Tel. : +49-5931-805461 Postfach 1225 > -- Fax : +49-5931-805175 49702 Meppen, Germany > -- mailto:Vincent.Smeets@CCI.Sema.de http://www.CCI.de/ > -- PGP fingerprint: E2437E38AAA9CA7D A31E7D751F1B6454 8AED7B76