Hello Dave,
I've just fixed gcore. The patset is attached to this mail.
Could you review and apply them if okay?
Primary changes are:
- no build process on unsupported architectures, and
- fix verbose handling: -v7 is now handled correctly.
In particular, I've just emproyed the way you suggested as below:
Or you could just catch it in the gcore.mk by doing something like this:
ARCH=UNSUPPORTED
ifeq ($(shell arch), x86_64)
ARCH=SUPPORTED
endif
ifeq ($(shell arch), i686)
ARCH=SUPPORTED
endif
all: gcore.so
gcore.so: gcore.c
@if [ ${ARCH} = "UNSUPPORTED" ]; then \
echo "gcore: architecture not supported"; else \
echo "do build here..."; fi;
I confirmed this works well on IA64.
Thanks,
HATAYAMA Daisuke