Thanks Florian. I appreciate it. Amit On Mon, May 31, 2021, 3:23 PM Florian Weimer <fweimer@xxxxxxxxxx> wrote: > * 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 > >