Joe Ciccone wrote: > The Makefile should not be inserting extra -m64s because CC="gcc -m32" > won't allow the test to compile a 64bit dummy prog pass.
Hmm. Could be user error, I'll look into it tonight. > check_gcc = $(shell if $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) dummy.c > $(ALL_LDFLAGS) $(1) -o /dev/null $(CURSES) > /dev/null 2>&1; then echo > "$(1)"; else echo "$(2)"; fi ;) > m64 := $(call check_gcc,-m64,$(call check_gcc,-mabi=64,)) Yeah with $(CC) set to "gcc -m32", that will first try to: gcc -m32 <other flags> -m64 -o /dev/null <other stuff> (which will probably succeed, but if it doesn't), then try to: gcc -m32 <other flags> -mabi=64 -o /dev/null <other stuff> and then if both of those fail, it doesn't use either flag. Unless my gcc is screwy for some reason. Like I said, I'll look into it more tonight. > Try building it again Will do, thanks.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev
