makefile时出现process_begin: CreateProcess failed

子夜微光 2008-10-01 12:38:28
前几天还用makefile编译了个小工程,可能是装什么软件或是改环境变量了。今天就出现了这个错误!!
process_begin: CreateProcess(NULL,gcc -c test.c, ...)failed.
make(e=2): 系统找不到指定的文件
make:*** [test.o] 错误2

这个错误折磨了我两天了!谁来帮帮我啊!!
谢谢谢谢谢谢谢谢!!!
...全文
13168 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
twlkhl 2011-08-04
  • 打赏
  • 举报
回复 1
把MSYS/bin加到PATH环境变量中就可以了
wangnijie8634 2011-02-12
  • 打赏
  • 举报
回复
怎么安装patch啊
twlkhl 2010-08-13
  • 打赏
  • 举报
回复 1
果真加上SHELL=cmd.exe就可以了???
philosopher2007 2009-08-10
  • 打赏
  • 举报
回复
感谢楼上
crazybugs 2008-11-19
  • 打赏
  • 举报
回复 4
在你的makefile中加上SHELL=cmd.exe就可以了
子夜微光 2008-10-11
  • 打赏
  • 举报
回复
How to use the patch? Would you like to tell me?
子夜微光 2008-10-04
  • 打赏
  • 举报
回复
我不知道patch怎么用啊!能否说一下具体流程?
  • 打赏
  • 举报
回复
It looks like a bug in some version of GNU make for windows. You may have to compile make from source

http://www.nabble.com/process_begin:-CreateProcess(NULL,-%22%22,-...)-failed-td16106327.html

For try to find out if they fixed the bug already and patch it.
  • 打赏
  • 举报
回复
are u with GNU make?
子夜微光 2008-10-01
  • 打赏
  • 举报
回复
是的,我用的GNU的make和MinGW的gcc编译器。请问这是哪里出了问题啊!!

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧