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

How to pass -Wl,--start-group -lc_nano -lgcc -Wl,--end-group #590

Closed
fanghuaqi opened this issue Oct 16, 2023 · 1 comment
Closed

How to pass -Wl,--start-group -lc_nano -lgcc -Wl,--end-group #590

fanghuaqi opened this issue Oct 16, 2023 · 1 comment

Comments

@fanghuaqi
Copy link

Hi @ilg-ul ,

When build with IDE generated Makefile, is there a way to group the requried library using -Wl,--start-group $(LIBS) -Wl,--end-group, so we can solve undefined symbol issue.

Thanks

@ilg-ul
Copy link
Contributor

ilg-ul commented Oct 16, 2023

You can add additional linker options, but I'm not sure you can use variables (like LIBS), so you probably have to list the libraries explicitly.

For support, please use the the project Discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants