Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
wsl编译gcc,编译好之后,环境变量配置好,gcc-v也能找到,编译import std;带有println函数,可以生成gcm.cache,但是在编译代码时失败! 但是在vm的ubuntu可以成功,ubuntu都是24.04,glibc也是一样的
wsl里和虚拟机里glibc的版本是多少, 这个可能是因素之一
ldd --version
如果使用xlings安装gcc15.1呢, 可以试一试会报同样的错误吗?
xlings install gcc@15.1.0
https://d2learn.github.io/xim-pkgindex/packages/gcc.html