Skip to content

-ffunction-sections -fdata-sections #148

Closed
@stackTom

Description

@stackTom

Does llvm-mingw for windows support -ffunction-sections and -fdata-sections? If it does, do we need these flags for Windows? Assume I have compiled a library with llvm-mingw and wish to use MSVC's /Gy and /OPT:REF (in order to only statically link those functions which my executable uses from the library). I asked a similar question here: msys2/MINGW-packages#6808

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions