comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Can't redirect output from gnat-3.13p-nt
Date: Fri, 17 Aug 2001 09:28:18 -0400
Date: 2001-08-17T13:28:19+00:00	[thread overview]
Message-ID: <9lj65j$bpm$1@nh.pace.co.uk> (raw)
In-Reply-To: 3B7CD645.6597796F@CCI.Sema.de

I believe you can use the -gnatl switch to create a compiler listing. You
can redirect the output of the compiler listing to a file and this will
contain error messages along with the surrounding code. (You'll see the
error messages on the screen but they also go to the listing.) This isn't
exactly what you asked for, but it works pretty well and I generally prefer
having the listing with the error messages anyway.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Vincent Smeets" <Vincent.Smeets@CCI.Sema.de> 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





  reply	other threads:[~2001-08-17 13:28 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 [this message]
2001-08-17 13:59 ` DuckE
2001-08-17 18:15   ` Georg Bauhaus
2001-08-18  3:14     ` DuckE
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