Re: logging gcc messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux