Replacing or disabling "printf" calls

Steve Strobel steve.strobel at link-comm.com
Mon Oct 17 16:35:45 UTC 2011


On Mon, Oct 17, 2011 at 6:12 AM, Rafael Morales <rmorales at iaa.es> wrote:
> 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?

Would it work to make a printf stub function and link it first, such
that the "real" printf didn't get included?

Steve



More information about the users mailing list