Forum Discussion
Altera_Forum
Honored Contributor
13 years agoprintf() is excluded from the small C library because it pulls in quite a lot of dependand code (basically all the stdio code and malloc/free).
It is possible to write a standalone snprintf() that is under 1800 bytes (without long long or FP support) - does need __udivsi3 though. IIRC the small C library does contains some functions to print strings.