Re: Source code of gcc implementation of printf function in assembly.

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

 



* Amit Choudhary via Gcc-help:

> I downloaded the gcc source code to find the source code of gcc
> implementation of printf function in assembly. But I could not find it.
> Does anyone know. Please let me know.

The implementation is in the corresponding C library (such as glibc,
musl, or newlib), not in GCC itself.  For glibc, the implementation is
in stdio-common/vfprintf-internal.c, but it is very macro-heavy and tied
to the obsolete libio framework.  Other implementations are perhaps more
straightforward.

Thanks,
Florian




[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