./configure
执行后,一直提示
…/meson.build:208:4: ERROR: Problem encountered: You either need GCC v7.4 or Clang v10.0 (or XCode Clang v12.0) to compile QEMU
A full log can be found at /root/qemu/build/meson-logs/meson-log.txtERROR: meson setup failed
查看gcc版本:
root@ecs-35878971 qemu]# gcc --version gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright © 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
版本太低,先升级gcc
自己下载gcc源码编译,升级gcc版本后就编译成功了