I am using a recompiled version of the GCC toolchain for the ARM platform, called Yagarto. The compiler comes with a "standard library" called Newlib, and "standard headers", such as stdio.h
.
For my project, the licencing of Newlib is not suitable, so I have used a printf
function from somewhere else. The problem is that it seems the build-in header files are implicitly included in every .c file, and I'm getting the following error:
c:/yagarto4.6.0/lib/gcc/../../arm-none-eabi/sys-include/stdio.h:182:5: error: conflicting types for 'printf'
Is there a way to have Yagarto not load the standard libraries by default?