[FIX] 'gcc' is not recognized as an internal or external command while compiling a C program

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello and welcome to tech support wheel and in this video I will show you how you can fix GCC is not recognized as an internal or external command error that appears while compiling a c program in command prompt hands for gnu compiler collection which is a compiler to compile C programs while compiling a c program using GCC command you get GCC not recognized error as the GCC compiler is not installed on your computer you can replicate the error by typing gcc-v in a command prompt the first step to fix the error is to install GCC compiler in case you have already installed GCC compiler watch the video till the end where I will show you the next step in fixing the error let's download the Min gwgcc compiler for Windows once downloaded run the installer click on install the default install directory is under C drive I will let it be like this installation is complete click on continue click on Objective C compiler and select Mark for installation do the same for the C plus compiler then go to installation Tab and select apply changes click on apply and wait for the packages to be downloaded to the installation directory click on close now the GCC compiler is installed on your computer if you run gcc-v you will still get the not recognized error the last step is still pending the next step is to update the path variable on your computer that points to the compiler binaries go to the Min GW install directory and copy the path to the bin directory the bin directory contains all the binaries for the compiler like other tools open environment variables of your computer by typing environment variables in Windows search click on environment variables button select the path variable under system variables section click on edit these are the paths already set up for other tools and softwares on my laptop click on new and paste the path of the Min GW bin folder that we had copied earlier click on OK now open a new command prompt and type gcc-v now you are good to go remember to open a new command prompt to have the changes take effect do you need help with compiling and running a c program check the card on how to run a c program in command prompt that's it if this video has helped you give this video a thumbs up and subscribe to tech support will for more useful contents like this [Music]
Info
Channel: Tech Support Whale
Views: 6,254
Rating: undefined out of 5
Keywords: tech support whale, gcc is not recognized as an internal or external command, c program compiler, gcc command not found, gcc command line, gcc command line include path, gcc command not found windows, gcc is not recognized as an internal or external command operable program or batch file, c program compiler for windows 11, c program compiler for windows 10, c program compiler download, install gcc compiler windows, codeblocks gcc compiler not found
Id: go95OShnnpc
Channel Id: undefined
Length: 3min 58sec (238 seconds)
Published: Mon Dec 26 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.