Open voltur01 opened 2 months ago
Support selection of different printf implementations provided by picolibc.
printf
picolibc
picolibc provides a mechanism based on --defsym linker option to select which printf implementation to use, see https://github.com/picolibc/picolibc/blob/main/doc/printf.md
--defsym
This works with GNU LD, however does not work with LLD because of https://github.com/llvm/llvm-project/issues/52, there is a specific reference there https://github.com/llvm/llvm-project/issues/52
We need to either help progress the LLD change above or invent something different as a workaround.
If you split out the printf from scanf selection, at least you'd avoid pulling in the scanf code with this?
Support selection of different
printf
implementations provided bypicolibc
.picolibc
provides a mechanism based on--defsym
linker option to select whichprintf
implementation to use, see https://github.com/picolibc/picolibc/blob/main/doc/printf.mdThis works with GNU LD, however does not work with LLD because of https://github.com/llvm/llvm-project/issues/52, there is a specific reference there https://github.com/llvm/llvm-project/issues/52
We need to either help progress the LLD change above or invent something different as a workaround.