通过Git Bash在Windows 7上安装gcc编译器?

时间:2021-11-29 19:26:36

Does anyone know how to use Git Bash to install gcc, Or how to install gcc and then register it with Git Bash?

有谁知道如何使用Git Bash来安装gcc,或者如何安装gcc然后用Git Bash注册?

Thanks so much.

非常感谢。

1 个解决方案

#1


-2  

If executing ccommands through the cli is difficult to you, why are you trying to install a compiler cloning its sourcecode using git, through the command line?

如果通过cli执行ccommands很难,你为什么要安装一个编译器使用git通过命令行克隆其源代码?

Use an installer, its much simpler. You could use the MinGW enviroment installer, which includes GCC.

使用安装程序,它更简单。您可以使用MinGW环境安装程序,其中包括GCC。

#1


-2  

If executing ccommands through the cli is difficult to you, why are you trying to install a compiler cloning its sourcecode using git, through the command line?

如果通过cli执行ccommands很难,你为什么要安装一个编译器使用git通过命令行克隆其源代码?

Use an installer, its much simpler. You could use the MinGW enviroment installer, which includes GCC.

使用安装程序,它更简单。您可以使用MinGW环境安装程序,其中包括GCC。