[Geany-Users] Windows 10, running ubuntu bash commands as a build option

bill punch punch at xxxxx
Sat Aug 13 20:27:57 UTC 2016


 You probably know that you can now run a bash command line from Windows
10, and even more interestingly you can download all the ubuntu tools
(14.04) such as g++.

You can also run these commands from a regular windows cmd.exe if you do
the following:

bash -c "g++ --version" for example, gives the version number.

However, if I do the same as a build option (say, the compile option) I
get "Process failed(The system cannot find the file specified)". Even if
I use the absolute path, the Compiler line says

C:\Windows\System32\bash.exe -c "g++ --version" (in directory:
C:\Users\bill)

with the same error message. PATH does have bash in it, it all works
fine in cmd, just not here as an option.

Any ideas?


For those that want to ask why the question, I'm trying to help students
in a large C++ class. Some use windows.

-- 
   
   >>>bill<<<




More information about the Users mailing list