c - 如何使用 Windows 7 设置 Geany?

标签 c compiler-construction build compiler-errors

我刚学了一些 C,我想在家里试试。问题是每当我单击构建时,都会出现类似

的错误
'gcc' is not recognized as an internal or external command, operable program or batch file.

出现在下方与编译按钮相同。

这里是构建命令:

  • 编译:gcc -Wall -c "%f"
  • 构建:gcc -Wall -o "%e""%f"
  • 执行:./%e"

最佳答案

你需要安装类似 Cygwin 的东西或 MinGW在 Windows 上使用 gcc。

关于c - 如何使用 Windows 7 设置 Geany?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17372978/

相关文章:

c++ - .h 文件是否被编译器或 "just"命名约定区别对待?

c - printf 结构体成员

c - at&t asm 内联 C++ 问题

c - 在 Linux 上是否可以在没有链接 libc 的情况下将 C 转换为 asm?

c++ - VS 命令行 "The Process cannot access the file...because it is being used by another process"构建失败

C: 当我将值放在括号中时,打印 %c 不起作用

c# - 如果 C# 中的关键字未在系统类中定义,那么它们在 CLR 中的哪里?

linux - 如何在 Linux Ubuntu 上使用 2 个不同版本的 GCC 并强制 MAKE 使用其中之一

ios - CFBundleVersion:验证仍然出现错误

iphone - 您可以根据文件类型为 XCode 创建自定义构建规则吗?