How to pass -Wl,--start-group -lc_nano -lgcc -Wl,--end-group #591
Replies: 3 comments 3 replies
-
Isn't that question addressed here already? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Hi @ilg-ul, the previous issue #590 is created by my collegue, and I provided more detailed information, could you take a look at it. |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions