Home > OS >  gcc is recognized by cmd, but not by bash
gcc is recognized by cmd, but not by bash

Time:11-30

I'm using windows sub-system for linux, installed ubuntu, and bash is running smoothly. I'm trying to use make, and it seems that bash doesn't recognize gcc. Tried adding it to PATH, but nothing changed. The weird thing is - cmd does recognize gcc.

Do I need to install it again?

CodePudding user response:

Have you tried to install gcc to the Ubuntu Sybsystem for Windows?

sudo apt install gcc
  • Related