Date: Sun, 18 Jul 1999 20:51:52 -0400 From: "Mikhail V. Evstiounin" <evs@telerama.com> To: "Zhihui Zhang" <zzhang@cs.binghamton.edu>, <freebsd-questions@FreeBSD.ORG> Subject: Re: save cc output to a file Message-ID: <008101bed180$eaea3830$6f27abcd@mvehpc.evs.slip.lm.com>
next in thread | raw e-mail | index | archive | help
cc -c filename.c >out.dat 2>&1 -----Original Message----- From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: freebsd-questions@FreeBSD.ORG <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008101bed180$eaea3830$6f27abcd>