Replacing or disabling "printf" calls

Rafael Morales rmorales at
Mon Oct 17 12:12:58 UTC 2011

Hello everyone,

We are working in a space project using RTEMS and we are worried about  
program sizes.

Reviewing the map file of a sample program using MIL-STD-1553B and 
spacewire driver, we have found :

9460 bytes used by lib_a-vfprinft.o
9192 bytes used by lib_a-svfprintf.o

Almost 18KB for printing it a lot!

We are not using "printf" in main program, but we have found it in the 
source file of MIL-STD-1553B and spacewire driver.
Those drivers was originally compiled with RTEMS and are linked with the 
main program in any compilation.

Can any one help us to replace or disable that "printf" calls?

Best regards.

More information about the users mailing list