RE: Warning and error External file

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

 



Hi shart,

> is possible to compile a program c or c++ and write error or warning into a external text file?

Yes.

gcc -o Foo Foo.c >gcc.out 2>gcc.err

HTH,
--Eljay


[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