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 configuration of printf options in Meson #163

Open
phillipjohnston opened this issue Jan 24, 2022 · 1 comment
Open

Support configuration of printf options in Meson #163

phillipjohnston opened this issue Jan 24, 2022 · 1 comment

Comments

@phillipjohnston
Copy link
Member

Based on #159, we have a new printf implementation. This uses CMake and has a configuration header input, among a number of options. These options similarly should be exposed to Meson.

One option here is to try to find a simple way to do it in the toplevel libc build. Another option is to create a Meson equivalent. We can either use that exclusively in our fork or work on getting it merged into the eyalroz/printf repository.

@phillipjohnston
Copy link
Member Author

Note this define will be necessary:

// Define this globally (e.g. gcc -DPRINTF_INCLUDE_CONFIG_H ...) to include the
// printf_config.h header file
#ifndef PRINTF_INCLUDE_CONFIG_H
#define PRINTF_INCLUDE_CONFIG_H 0
#endif

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

1 participant