相关疑难解决方法(0)

如何在Windows 10上为Debian修复Rust错误"链接器'cc'未找到"?

我正在Windows 10上运行Debian(适用于Linux的Windows子系统)并使用以下命令安装Rust:

curl https://sh.rustup.rs -sSf | sh
Run Code Online (Sandbox Code Playgroud)

安装中没有错误,但是当我尝试编译时,rustc我收到了错误linker 'cc' not found.

linux windows rust

27
推荐指数
5
解决办法
6277
查看次数

如何为 WSL(Linux 的 Windows 子系统)安装 GCC 和 GDB?

我需要 gcc 来编译 ac 代码,但无法在 wsl 上安装 gcc。我试过了,sudo apt-get install gcc但没有用。这是错误。

hack@DESKTOP-VMQA3JB:~$ sudo apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages …
Run Code Online (Sandbox Code Playgroud)

windows gcc gdb windows-subsystem-for-linux

3
推荐指数
1
解决办法
7721
查看次数

标签 统计

windows ×2

gcc ×1

gdb ×1

linux ×1

rust ×1

windows-subsystem-for-linux ×1