Closed
Description
Hi @ilg-ul ,
I would like to request a feature like below:
Adding a checkbox in Settings -> Linker -> Libraries, this checkbox is used to control group libraries or not
- Group libraries(-Wl,start-group $LIBS -Wl, end-group)
When this checkbox is clicked, the generated Makefile will be like this:
Otherwise, it will be like this, which is the default behavior
This feature is used to fix issue like this If a symbol in that archive is needed to resolve an undefined symbol referred to by an object in an archive that appears later on the command line, the linker would not be able to resolve that reference.
See reference links below:
- https://stackoverflow.com/questions/5651869/what-are-the-start-group-and-end-group-command-line-options
- https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_chapter/ld_2.html
Thanks
Huaqi