Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Demolishun35074240d@Hazarth I had built a another project that was supposed to the 8MB. It compiled to 171MB on release build. So there is definitely something wrong. release builds should be orders of magnitude smaller than debug builds because there are optimizations and no debug symbols.
-
jassole1854239dDebug symbols? Unless you have lot of embedded resources, hard to see why only code would do that.
I would run it through some executable analyzer to dig further. -
Hazarth9537239d@Demolishun yeah, I know. Well now that you say it blew up by over 100mb Im gonna suggest it must be dependencies being packed with the release or something. The options for debug and release must be different.
-
Demolishun35074239d@Hazarth doh, had to run strip on it. I looked in our build script for building an image, but did not find the strip command. So we must be doing it somewhere I am just not seeing.
-
Demolishun35074239dYay, got stuff on the system and now I gotta fix everything I did wrong. Progress is good.
Trying to build an executable for a an embedded device. There is 135MB of space on the device. Debug build is 135MB, release build is 138MB...
I have questions and I am afraid of what the answers are. Gotta sort out my sketchy build environment tomorrow.
rant