I was trying to compile exprtk.hpp file (https://exprtk.codeplex.com/) with mingw32(491_32) on Qt (win7). During compilation, I give this error message:
debug\main.o:-1: error: too many sections (35325)
I've been noticed that the exprtk.hpp file is huge (>32000 lines). I've been trying optimization flags on compiler but It didn't help eighter. I'll be appreciated if somebody help me... Regards,
You can by adding the compilation flags -flto -Wl,-allow-multiple-definition
and you can add -fuse-linker-plugin
-Wa,-mbig-obj
do not work on x86/32bits
architecture (only x64
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With