Skip to content

Stripping Debug Symbols plugin #522

@dcdillon

Description

@dcdillon

By adding the PKG_LIBS=-Wl,-S to my package, I tell the linker to strip the debug symbols when creating the .so file. This is necessary because I generate some truly unholy class and function names via templates (e.g. .so size goes from 13MB to 54KB with this flag added).

Would it be reasonable to add an // [[Rcpp::plugins(strip)]] that does this? I think it's probably useful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions