Compiling with GCC on windows 7: \mingw32\bin\ld.exe: cannot open output file a.exe

前端 未结 3 711
孤独总比滥情好
孤独总比滥情好 2021-01-14 12:35

This is what I get when trying to compile a simple hello world program with gcc.

c:\\>gcc hello.c
hello.c:9:2: warning: no newline at end of file
C:\\MinG         


        
3条回答
  •  离开以前
    2021-01-14 13:25

    The most common case is that your program may still be running in the background, possibly hanged on an endless loop. You can try searching for the process in the process list (press Alt+Ctrl+Del) and killing it.

提交回复
热议问题