Linux embedded arm release lib sizes are huge
-
Hello!
I'm newbie in developing for arm. I'm trying to build Linux for my system.
I'm adding "embedded arm" in the configure list and "make". After that my QT libs sizes are super huge.
E.g. libQtGui.so size is 125 Mb, or libQtNetwork its 15Mb.As i understand, they're not debug nor have debug info (i dont configure with -debug flag).
How can i make my libs normal size?
-
Hello!
I'm newbie in developing for arm. I'm trying to build Linux for my system.
I'm adding "embedded arm" in the configure list and "make". After that my QT libs sizes are super huge.
E.g. libQtGui.so size is 125 Mb, or libQtNetwork its 15Mb.As i understand, they're not debug nor have debug info (i dont configure with -debug flag).
How can i make my libs normal size?
@Ivan-Megazoo Have you tried
strip
ing them?As i understand, they're not debug nor have debug info
I think they have debug infos.
Regards
-
@Ivan-Megazoo Have you tried
strip
ing them?As i understand, they're not debug nor have debug info
I think they have debug infos.
Regards
@aha_1980 aren't they "stripped" by default?
I just need to add "-strip" parameter to configure? -
@aha_1980 aren't they "stripped" by default?
I just need to add "-strip" parameter to configure?Just do a
file
command on the library you want to investigate. If it says "not stripped", then you can strip them with yourarm-linux-...-strip
command.Regards
-
This post is deleted!
-
Just do a
file
command on the library you want to investigate. If it says "not stripped", then you can strip them with yourarm-linux-...-strip
command.Regards
@aha_1980 That worked. Thanks a lot.
Why didn't they strip on default. I have QMAKE_STRIP with path in my qmake.conf file.