From owner-freebsd-questions Sun Jul 18 17:52:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ivory.lm.com (ivory.telerama.com [205.201.1.20]) by hub.freebsd.org (Postfix) with ESMTP id 5153F14F9D for ; Sun, 18 Jul 1999 17:52:08 -0700 (PDT) (envelope-from evs@telerama.com) Received: from mvehpc (d15-30.dyn.telerama.com [205.201.42.94]) by ivory.lm.com (8.8.5/8.6.12) with SMTP id UAA28453; Sun, 18 Jul 1999 20:52:00 -0400 (EDT) Message-ID: <008101bed180$eaea3830$6f27abcd@mvehpc.evs.slip.lm.com> Reply-To: "Mikhail V. Evstiounin" From: "Mikhail V. Evstiounin" To: "Zhihui Zhang" , Subject: Re: save cc output to a file Date: Sun, 18 Jul 1999 20:51:52 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG cc -c filename.c >out.dat 2>&1 -----Original Message----- From: Zhihui Zhang To: freebsd-questions@FreeBSD.ORG Date: Sunday, July 18, 1999 3:44 PM Subject: save cc output to a file >This should be a simple question, but I just do not know how to save the > >output of $ cc -c filename.c to a file which is useful when you have a >lot >of errors in your program. The following two do not work: > > $ cc -c filename.c > out.dat > $ cc -c filename.c 2>out.dat > >Thanks for any help. > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message