Skip to contentSkip to conversation

cc1 and cc1plus had about 20 mbytes of debug information each, in the final redistributable form. This patch strips those two binaries yielding a savings of about 40 mbytes per SDK.

PATCH New Dick Hollenbeck 1 participant 1 message Mar 7, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cc1 and cc1plus had about 20 mbytes of debug information each, in the final redistributable form. This patch strips those two binaries yielding a savings of about 40 mbytes per SDK.

Quoted 1 line
Signed-off-by Dick Hollenbeck<dick at softplc.com

<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>>

Quoted 4 lines

We recently added logic to conf/distro/include/sane-toolchain-* to handle the debug level via DEBUG_LEVEL. Would you mind adding a DEBUG_LEVEL_HOST to conf/bitbake.conf and making BUILD_OPTIMIZATION obey that instead so that we can drop debug info from all of them? Thanks.

Tom,

Thanks. On this one, please just take it over. I am still coming up to speed, and am not able to decipher what you want in a way that will make you happy.

I know its only a few lines, and you'll want it done a certain way anyway.

Thanks tons. The disk savings is substantial and worth your time.

Next time I'll be better positioned to help.

Dick