Skip to content

Conversation

adigie
Copy link

@adigie adigie commented Feb 17, 2025

Compile additional variant of libstdc++ with exceptions disabled.

crosstool-ng PR: zephyrproject-rtos/crosstool-ng/pull/32
Fixes #860

@@ -1,6 +1,6 @@
[submodule "crosstool-ng"]
path = crosstool-ng
url = https://github.com/zephyrproject-rtos/crosstool-ng.git
url = https://github.com/adigie/crosstool-ng.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we make this use the same picolibcpp.specs file and just replace -lstdc++ with -lstdc++-noexcept? Do we need different header paths or something?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking about doing something similar to Newlib nano, but it would probably be easier to keep the same specs file for all configurations.

I made a change in Zephyr to link proper variant: zephyrproject-rtos/zephyr/pull/85945
Is this what you had in mind?

@adigie adigie force-pushed the picolib-noexcept branch 4 times, most recently from 4d056b5 to 30ff1ee Compare February 20, 2025 16:54
Signed-off-by: Adrian Gielniewski <[email protected]>
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

Successfully merging this pull request may close these issues.

Using picolibc with libstdc++_nano.a
2 participants