-
Notifications
You must be signed in to change notification settings - Fork 622
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
Include C++ examples with and without standard library #310
Comments
Having |
Having
So it looks like it's missing a few symbols that are defined in the system libraries? I'll give that PR a shot later, thanks for your help! |
Oh, yes, right. You need something like the following in order to make libstdc++/libsupc++ happy:
Never mind, it won't fix the above missing symbols. |
Hi! First of all thanks a lot for the work you've done to make it easy to get a fully functional ESP8266 toolchain. There's already an example for building a small project with exclusively C source files. Making it build C++ source files is relatively easy working from this example, as it works out of the box with the specified compiler and linker flags. However, if you want to use the C++ standard library at all, things get more complicated.
This is as far as I've got so far:
But the linker fails:
Googling shows some people hitting similar issues, but I haven't been able to find a solution.
The text was updated successfully, but these errors were encountered: