Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizing the output file #349

Open
AlexanderZhirov opened this issue Apr 25, 2022 · 1 comment
Open

Optimizing the output file #349

AlexanderZhirov opened this issue Apr 25, 2022 · 1 comment

Comments

@AlexanderZhirov
Copy link

Is it possible to use any compilation flags to reduce the size of the executable file? I use several functions of this library, but with -O3 the file still weighs about 800 kilobytes. Is it possible to make the size even smaller?

OS: Solus Linux
GCC: 11.2.0

@dtschump
Copy link
Collaborator

Have you tried with -Os and -flto ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants