Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22481

gcc found but not executing on windows git bash

$
0
0

In installed gcc on windows via msys32. On powershell and on command prompt it executes properly. The only strange thing: which gcc yields /usr/bin/gcc, yes with unix slashes. In real world it is installed in ~/AppData/Roaming/msys32/usr/bin so the msys path is cut off.

In git bash gcc yields no command not found but just nothing. Also which gcc yields /c/Users/ere/AppData/Roaming/msys32/usr/bin/gcc.

So the problem is specific for git bash, right? But i cannot interprete the outcomming. Any ideas?


Viewing all articles
Browse latest Browse all 22481

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>