suffix or operands invalid for `cmpxchg’

今天编译安装glib,在make时出现suffix or operands invalid for `cmpxchg’错误,谷歌了一下,发现问题应该是cpu是64位的,系统是32位的,所以就出现了这个错误,解决方法是在./configure时加上参数–build=i686即可。

发布于:2019-11-24 10:55:25