CImg
CImg copied to clipboard
Optimizing the output file
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
Have you tried with -Os and -flto ?