Skip to content

Feature request: Add a checkbox to enable group linked library #592

Closed
@fanghuaqi

Description

@fanghuaqi

Hi @ilg-ul ,

I would like to request a feature like below:

image

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:

image

Otherwise, it will be like this, which is the default behavior

image

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.

image

See reference links below:

Thanks
Huaqi

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions