Linux内核对GCC版本的检测 概述在编译linux内核时,linux会检查当前使用的gcc的版本,如果太老的话,就无法编译linux。问题执行命令make ARCH=x86_64 defconfig时,提示如下错误:*** Default configuration is based on 'x86_64_defconfig' *** *** Compiler is too old. *** Your GCC version: 4.8.5 *** ...
1. 查看linux版本 leblancs@leblancs-virtual-machine:~$cat /etc/issueUbuntu16.10\n \l leblancs@leblancs-virtual-machine:~$ AI代码助手复制代码 2. 查看内核版本 1) leblancs@leblancs-virtual-machine:~$cat /proc/versionLinuxversion4.8.0-28-generic (buildd@lgw01-16) (gcc version6.2.020161005(U...