We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Update newlib/ibgloss/riscv/nano.specs to also replace the C++ libraries with the nano versions.
newlib/ibgloss/riscv/nano.specs
The text was updated successfully, but these errors were encountered:
riscvarchive/riscv-newlib#45
Sorry, something went wrong.
Add code at run-time to patch libgloss/riscv/nano.specs and replace
libgloss/riscv/nano.specs
%(nano_link) %:replace-outfile(-lc -lc_nano) %:replace-outfile(-lg -lg_nano) %:replace-outfile(-lm -lm_nano)
with:
%(nano_link) %:replace-outfile(-lc -lc_nano) %:replace-outfile(-lg -lg_nano) %:replace-outfile(-lm -lm_nano) %:replace-outfile(-lstdc++ -lstdc++_nano) %:replace-outfile(-lsupc++ -lsupc++_nano)
Then test if the file includes -lstdc++_nano and -lsupc++_nano.
-lstdc++_nano
-lsupc++_nano
Fixed.
No branches or pull requests
Update
newlib/ibgloss/riscv/nano.specs
to also replace the C++ libraries with the nano versions.The text was updated successfully, but these errors were encountered: