Eclipse CDT plugin problems

后端 未结 5 1271
执念已碎
执念已碎 2021-01-18 09:50

im trying to run a c program on my windows 7 computer using eclipse and im running into a little snag. I currently have Eclipse downloaded on my computer with the CDT plugin

5条回答
  •  情歌与酒
    2021-01-18 10:20

    • Goto "Window"->"Prefenerces"->"C++"->"Build"->"Environment"
    • add "COMMAND"="c:\mingw\bin\make.exe"`.
    • on the other side, you need a batch file "c:\mingw\bin\rm.bat"
    • In that file, put:

      @echo off
      :start
          if "%1" == "" goto end
          if "%1" == "-f" goto loop
          del %1
      :loop
          shift
          goto start
      :end
      

提交回复
热议问题