Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 1999 15:54:17 -0400
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-questions@freebsd.org
Subject:   save cc output to a file
Message-ID:  <379230E9.9FFDE1A1@cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?379230E9.9FFDE1A1>