This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Redirect Error Messages Output To File
- From: Yabar <Yabar at emailgo dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 24 Jul 2011 09:51:32 -0700 (PDT)
- Subject: Redirect Error Messages Output To File
Hi,
Is it possible to redirect the error messages gcc generates to a file and
not to the console?
And if yes, how do I do it ?
(tried g++ main.cpp > out.txt, but this just creates an empty file)
Thank you.
--
View this message in context: http://old.nabble.com/Redirect-Error-Messages-Output-To-File-tp32126536p32126536.html
Sent from the gcc - Help mailing list archive at Nabble.com.