问题
龙芯loongarch64服务器编译c文件报错#error Target architecture was not detected as supported by Double-Conversion
解决办法:
需要修改utils.h文件
1、打开utils.h文件:
vim double_conversion/double-conversion/utils.h
2、在添加宏 defined(__loongarch__)
3、重新编译。
龙芯loongarch64服务器编译c文件报错#error Target architecture was not detected as supported by Double-Conversion
需要修改utils.h文件
1、打开utils.h文件:
vim double_conversion/double-conversion/utils.h
2、在添加宏 defined(__loongarch__)
3、重新编译。