How to pass -Wl,--start-group -lc_nano -lgcc -Wl,--end-group #591
Unanswered
laomaolaile
asked this question in
Debug Plug-ins Q&A
Replies: 3 comments 3 replies
|
Isn't that question addressed here already? |
2 replies
|
Hi @TommyMurphyTM1234 , I want achive the following result, as screenshot below: As ld doc here https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_mono/ld.html, I want to resolve undefined symbol issue. If no start group and end group to wrap the linked libary, it will show undefined symbols error during link, I am not using --specs gcc option with -nodefault-libs, and I want to control the libraries linked by me. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
In some projects, I would like my Libraries to be passed on as a group. How can I achieve this?
For example, in the following example, I actually want to pass -Wl,--start-group -lstdc++ -lc_nano -lgcc -Wl,--end-group
All reactions