Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support selection of different printf implementations #443

Open
voltur01 opened this issue May 21, 2024 · 1 comment
Open

Support selection of different printf implementations #443

voltur01 opened this issue May 21, 2024 · 1 comment

Comments

@voltur01
Copy link
Contributor

Support selection of different printf implementations provided by 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

This works with GNU LD, however does not work with LLD because of llvm/llvm-project#52, there is a specific reference there llvm/llvm-project#52

We need to either help progress the LLD change above or invent something different as a workaround.

@keith-packard
Copy link

If you split out the printf from scanf selection, at least you'd avoid pulling in the scanf code with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants