gcc on Windows

Help
Adam
2005-06-29
2013-04-24
  • Adam
    Adam
    2005-06-29

    Hello,
      I am trying to use the cc task with gcc on Windows through the mingw shell.  I am getting the following error:  Could not launch g++: java.io.IOException: CreateProcess:... 
      Does anyone know what I'm doing wrong or if this is unsupported?

    thanks,
    adam

     
    • Curt Arnold
      Curt Arnold
      2005-06-30

      I've used cpptasks with MinGW successfully.  My guess is that MinGW is not in your path before you started ant.  What happens if you just type g++ on the command prompt.

       
      • Adam
        Adam
        2005-06-30

        This works fine.  However, I got the cc task to find g++ only by putting a path to it in the Windows global PATH variable.