|
我使用 make ARCH=x86_64 HOSTCC="gcc -m32" CC="gcc -m64" menuconfig配置好后.
make ARCH=x86_64 HOSTCC="gcc -m32" CC="gcc -m64"
编译报错.提示如下:
root@linux:/usr/src/linux# make ARCH=x86_64 HOSTCC="gcc -m32" CC="gcc -m64"
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
kernel/bounds.c:1: error: code model 'kernel' not supported in the 32 bit mode
kernel/bounds.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
32位系统下不能编译使用64位的内核? |
|