Re: To display log comments on console or file

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

 



On Mon, 2022-04-18 at 16:02 +0530, RICHU NORMAN wrote:
> Hi,
> Thanking you in advance.
> I am a beginner working on implementing new instructions in gcc. I am
> unable to display log comments on console or file. We want to put log
> comments to know if compilation entered certain functions that we edited.
> Either we should be able to print on console or print in a file. This would
> help us track the flow of execution as well.

You can use fprintf(stderr, ...) to output messages.  But why not just
use a debugger?

-- 
Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[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