[rfc] the 'dc' applet
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Fri Jul 30 21:48:47 UTC 2010
On Fri, 30 Jul 2010, Cristian Ionescu-Idbohrn wrote:
> On Fri, 30 Jul 2010, Denys Vlasenko wrote:
>
> > I think you messed up CFLAGS. Most likely you lost -Os while adding
> > -W<everything>.
>
> I might. I'll have a look.
Odd... Must be something else. I added a new target to the main
Makefile:
echo:
@echo "CFLAGS='$(CFLAGS)'"
Shows up I'm using '-O0':
CFLAGS=' -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes
-Wunused -Wunused-parameter -Wunused-function -Wunused-value
-Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
-Wbad-function-cast -Wold-style-definition -fno-builtin-strlen
-finline-limit=0 -fomit-frame-pointer -ffunction-sections -fdata-sections
-fno-guess-branch-probability -funsigned-char -static-libgcc
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -g
-O0 -march=i386 -mpreferred-stack-boundary=2'
And that's because I build with CONFIG_DEBUG_PESSIMIZE=y in my .config.
Doing:
$ make CONFIG_DEBUG_PESSIMIZE= bloatcheck
shows "savings" in the 300K range:
(add/remove: 2/545 grow/shrink: 137/1814 up/down: 32972/-321918)Total: -288946 bytes
Cheers,
--
Cristian
More information about the busybox
mailing list