On 5 March 2014 17:28, Michael Markowsky wrote: > Dear Madam , Dear Sir > > I use gcc on a linux - system and wish to save the compiler messages for > further analysation. > so something like gcc filename.cpp>result.txt didn´t work As Tim said, you need to redirect stderr to the file, not just stdout. N.B. you almost certainly want to use g++ to compile a C++ file, not gcc.