You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context:
I've been tinkering with STM32 devices lately and diving into compiling CXX code in an environment without the standard library (no std). This repository had a promising example, but I hit a snag during compilation.
Problem:
As I followed the example in the repository for running CXX code on STM32 devices without the standard library, I ran into a little hiccup. The compilation process threw up an error message that said:
rust-lld: error: unable to find library -lstdc++
It seems like the linker (rust-lld) is having a tough time tracking down the standard C++ library (libstdc++). My guess is there might be a small hiccup in the configuration somewhere causing it to slip through the cracks.
Additional Information:
Compiler Version: 1.72.0
The text was updated successfully, but these errors were encountered:
Hey! Unfortunately you are right. This repository is a demo of this compilation issue. 😢 I have no any promising updates.
The repo is referred here: dtolnay/cxx#1286
That's disappointing. It seems like the cxx team might not be aware of this issue. Perhaps by raising the problem again, they'll release an update that enables cxx to function in a no_std environment. I'll do my best to shed some light on this and keep you posted if there's any progress. 😊
Context:
I've been tinkering with STM32 devices lately and diving into compiling CXX code in an environment without the standard library (no std). This repository had a promising example, but I hit a snag during compilation.
Problem:
As I followed the example in the repository for running CXX code on STM32 devices without the standard library, I ran into a little hiccup. The compilation process threw up an error message that said:
It seems like the linker (
rust-lld
) is having a tough time tracking down the standard C++ library (libstdc++
). My guess is there might be a small hiccup in the configuration somewhere causing it to slip through the cracks.Additional Information:
The text was updated successfully, but these errors were encountered: