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

iostream is not available with newlib #524

Open
nolange opened this issue Oct 7, 2024 · 3 comments
Open

iostream is not available with newlib #524

nolange opened this issue Oct 7, 2024 · 3 comments

Comments

@nolange
Copy link

nolange commented Oct 7, 2024

newlib libc++ is compiled with _LIBCPP_HAS_NO_LOCALIZATION, this means that iostreams are not available at all.

I am not asking for fully supporting the locales, but provide simple C-only locale stubs.

the picolib variant does this, and newlib should be the more complete variant?

@smithp35
Copy link
Contributor

smithp35 commented Oct 7, 2024

Thanks for pointing that out. Our newlib overlay package is still in the experimental state at the moment. We're hoping to improve that in the future, particularly when newlib support for building with clang without patches is available.

It isn't currently a priority so this may be a case of "patches welcome" until we can get to it.

@nolange
Copy link
Author

nolange commented Oct 7, 2024

Ok.
How is the relation of this project and Arm Compiler for Embedded?

Totally separate entities?

@voltur01
Copy link
Contributor

voltur01 commented Oct 7, 2024

Hi,

Arm Compiler for Embedded is a commercial toolchain that uses armclang compiler that is based on clang, but the rest of the toolchain components are proprietary.

This project - LLVM Embedded Toolchain for Arm - is an attempt to create a working and easy to use embedded toolchain using open-source components only.

So these are two very different toolchains based on the same great LLVM technology at the core.

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

3 participants