This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

printf is linked although I do not use the function printf() in C code

I dont use printf() function in my project,
but I check the output file .m51, I saw the printf() function occupy my code space in common area(with bank switch).
and you know it take large space.
can you tell me how I remove off this moudle ?
below is my .m51 content.

..
C:\KEIL\C51\LIB\C51L.LIB (PRINTF)
..
DATA 0018H 0005H UNIT ?DT?PRINTF?PRINTF
BIT 0020H.0 0001H.1 UNIT ?BI?PRINTF?PRINTF
..
XDATA 60F0H 0028H UNIT ?XD?PRINTF?PRINTF
..
CODE 1414H 0365H UNIT ?PR?PRINTF?PRINTF