Our makefile is weird.
Robert P. J. Day
rpjday at mindspring.com
Wed Apr 19 16:54:40 UTC 2006
On Wed, 19 Apr 2006, Rob Landley wrote:
> Ok, so trying to track down what's switching off -funsigned-char, I'm trying
> to make a shell script that'll rebuild just cat.c and then do the final link
> again, which I'm trying to cut and paste from "make V=1", except that the
> link stage of make V=1 is the following:
>
> gcc -I/home/landley/busybox/busybox/include \
> -I/home/landley/busybox/busybox/include -I -funsigned-char -Wall \
> -Wstrict-prototypes -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2\
> -falign-functions=1 -falign-jumps=1 -falign-loops=1 -fomit-frame-pointer\
> -D_GNU_SOURCE -DNDEBUG -Wstrict-prototypes -Wmissing-prototypes\
> -Wmissing-declarations -Wl,--warn-common -Wl,--sort-common
> cp busybox_unstripped busybox
> strip -s --remove-section=.note --remove-section=.comment busybox
>
> Notice anything? Like the complete lack of any objects to actually link
> together on the link line?
that's 'cuz that's not the command that's actually being run. and,
yes, that Makefile is way too complicated.
rday
More information about the busybox
mailing list