Specify a subdirectory to store C++ module information for targets in the path that begins with the appropriate GNUInstallDirs variable.

combine single text with multiple lines of file, Identification of the dagger/mini sword which has been in my family for as long as I can remember (and I am 80 years old).

pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain \git subversion mercurial \mingw-w64-i686-cmake mingw-w64-x86_64-cmake



You can also install git via these systems.

Free Documentation License. Install GCC in Git for Windows bash environment. How to Build a Simple Web Server with Golang? WebInstall mingw-w64 (Follow the "Sourceforge" link) and install it to the default Program Files based path. Closed 7 years ago.



Re: Installing gcc-git not working The transaction failed but the packages were still built so you do not have to rebuild them.

Related searches to bash gcc command not found.

For MSYS2 you can share them by adding this to your Windows' env.

This tutorial explains how to install the GCC compiler on CentOS 7. Create a local copy of the package repository e.g.

The source distribution includes the C, C++, Objective-C, Fortran, and Ada (in the case of GCC 3.1 and later) compilers, as well as runtime libraries for C++, Objective-C, and Fortran. Copyright 1988-2023 Free Software Foundation, Inc. Solution 1 FWIW I just uninstalled Git for Windows and instead installed both GCC and git within MSYS2, as @DanielB commented.

(if the two installations don't interfere to begin with), [ Edit: GNU Make is installed as mingw32-make.exe.

Run the downloaded installer and accept the default options to install GCC

].

The GCC is an open-source collection of compilers and libraries. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com I changed it from: and now right clicking and selecting "Git Bash Here" and running the command: and once again I can cd to the folder with my code and compile and run them. will not revealed to any readable.

Does NEC allow a hardwired hood to be converted to plug in? 3 Why do you need a GCC compiler in Objective C? Choose the installer with GCC Compiler, e.g., codeblocks-17.12mingw-setup.exe which includes MinGWs GNU GCC compiler download and GNU GDB debugger with Code::Blocks source files. Configure Git on Linux.



Although you might have only installed Git as a part of your Cygwin install (if you used Cygwin), Cygwin has a program called setup.exe which you can use to add packages.

I love being able to go to my file directory, right click, and select the "Git Bash Here" option to open the console and do whatever I needed.

Does anyone know how to use Git Bash to install GCC, or how to install GCC and then register it with Git Bash? Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. rev2023.4.5.43377. Installs either 32-bit or 64-bit GCC on either Ubuntu or Cygwin. Super User is a question and answer site for computer enthusiasts and power users. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. WebInstalling on macOS There are several ways to install Git on a Mac.

variables: I have Git for Windows installed on a Windows 7 machine (no, sadly I can't switch to W10 on this particular machine).

WebInstall mingw-w64 (Follow the "Sourceforge" link) and install it to the default Program Files based path.

How can I install more commands on this shell?

Plagiarism flag and moderator tooling has launched to Stack Overflow! At minimum, you will need to enable the options Git Bash and Git GUI, enable Git support for large files, associate .git configuration files with the default text editor,, and associate .sh files to be run with Bash..

Error using \numproduct with pgf for loop variable.

then in Git Bash, run the following 2 commands: in Git Bash, run below command to check rsync is working: Thanks for contributing an answer to Super User!

To install the Development Tools packages, run the following command as root or user with sudo privileges : sudo apt update sudo apt install build-essential The command installs a lot of packages, including gcc, g++ and make. Some of the 26 dlls may not be necessary, but I'd prefer to save my time instead of disk space. Run setup, and enter the URL, path or UNC path of that repository when prompted to "Choose A Download Site". Is it OK to reverse this cantilever brake yoke? by using rsync on one of the mirrors .

any later version published by the Free Software Foundation; with no

4.

Solution 2 USE MINGW-W64 Install mingw-w64 ( Follow the "Sourceforge" link) and install it to Connect and share knowledge within a single location that is structured and easy to search. Where I'm still running into an issue is the same as my original post, I can't get GCC to work through the Git Bash console. I'd call this the answer. The problem now is that before when Git Bash would open, it would be looking in the directory where I had right clicked. I see the following is likely relevant and probably means I should just go install MSYS separately. Making statements based on opinion; back them up with references or personal experience. If you are using msysgit a simple option is to just install MinGW and then add the MINGW path to the .bashrc file you are using for your Git installation: where MINGW is where you installed MinGW. I'd like to add more, such as GCC.

This post is destructive and doesn't answer the question. $ git --version If you dont have it installed already, it will prompt you to install it. C:\Program Files\CMake\bin) to the PATH in a command prompt.

gcc: It is a compiler that needs to compile the c/c++ programs : g++: It is also a compiler that needs to compile the c/c++ programs. I am working on windows machine and I use bash shell which comes with Git.

Questions asking for code must demonstrate a minimal understanding of the problem being solved. 25 Feb/23.

Manjaro had to have the GCC compiler, Flex, and Bison installed. Why is implementing a digital LPF with low cutoff frequency but high sampling frequency infeasible?



To subscribe to this RSS feed, copy and paste this URL into your RSS reader. For example, on Ubuntu: > sudo apt-get install git.

You'll be redirected to the site which hosts the files.

Asking for help, clarification, or responding to other answers. In this guide we are going to walk through the steps required to build GCC 9.1.0 from source.

Is there any package management system for MinGW+MSYS? 1. Alternative for "sorry" that doesn't imply guilt (ex.

4.

Command 2: Now we have to install the build-essential packages, which is also known as a meta-package, it contains the GCC compiler all the other essentials used to compile the software written in C and C++ language.

Install GCC in Git for Windows bash environmentHelpful? and paste it into the /usr/bin folder of your Git installation.

Use the Linux distribution's native package management system to install and update Git.

Get emacs files as the previous steps(run the following in msys64): ps: I once tried the above steps in /d/tmp instead of /tmp and was not able to install emacs to it. To learn more, see our tips on writing great answers. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA.

and installed by the current project. 2 How to run C programs in Git Bash?

Why does NATO accession require a treaty protocol?

Does HIPAA protect against doctors giving prescriptions to pharmacists that you didn't approve?

pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain \git subversion mercurial \mingw-w64-i686-cmake mingw-w64-x86_64-cmake

Unzip the download, then copy hugo.exe into your Git\mingw64\bin directory.

C:\Program Files\CMake\bin) to the PATH in a command prompt.

Asking for help, clarification, or responding to other answers.

Specify a version to install using the version parameter.

Learn more about Stack Overflow the company, and our products.



How can I self-edit?

Accept the GNI General public license as shown below. The GNU Compiler Collection (GCC) is a collection of compilers and libraries for C, C++, Objective-C, Fortran, Ada, Go, and D, programming languages.



Replace [source_file].c with the name of your source code file, and [executable_name] with the name you'd like to give your compiled program.

].

Run setup, and enter the URL, path or UNC path of that repository when prompted to "Choose A Download Site". Use an installer, its much simpler. When you see MinGW Installation Manager Dialog, click on MSYS in the left sidebar, you will see mingw-developer-toolkit in the right side panel.

This is done by injecting arguments and/or environment variables when the shell session launches. Sleeping on the Sweden-Finland ferry; how rowdy does it get?

WebInstall Git From an Installer.

any longer, and, if shared libraries are installed there as well, no

To learn more, see our tips on writing great answers. How to troubleshoot crashes detected by Google Play Store for Flutter app, Cupertino DateTime picker interfering with scroll behaviour. The installation procedure itself is broken into five steps. Add the bin folder to the beginning of your Git BASH (MINGW64) path: You'll, of course, need to adjust the above path to match the version of your of your particular install: You may be able to just install it directly into the same folder as Git: This document describes the generic installation procedure for GCC as well A graphical installer for Git on macOS is also available from the official Git website.



But there are many utilities which are missing in this version of bash shell.

Type gcc -o [executable_name] [source_file].c and press Enter. Install GCC Compiler on Debian/Ubuntu Linux What was this word I forgot?

with the Back-Cover Texts being (b) (see below).

command-1 Note: In the first command it will ask for your password, make sure to enter the password correctly.

As soon as one saves the file and runs source ~/.bash_profile then one should be able to watch the output of commands. Please support me on Patreon: https://www.patreon.com/roelvandepaar Show more. The source distribution includes the C, C++, Objective-C, Fortran, and Ada (in the case of GCC 3.1 and later) compilers, as well as runtime libraries for C++, Objective-C, and Fortran. Does NEC allow a hardwired hood to be converted to plug in?

WebActions Install GCC GitHub Action Install GCC v1.3 Latest version Use latest version Set up GCC This GitHub action sets up GCC in your workflow run. When I give command to compile the files, it asks me to install GCC by typing sudo apt install GCC.

grep: Install it if the program is searching plain-text.

We're going to use the bash shell installed by Git as our starting point. Update everything using: pacman -Syu Installing gcc using MSYS2.

Step 2) Select the installer with GCC for Windows compiler. host/target specific installation notes.

How to install GCC compiler through git Bash?



How much technical information is given to astronauts on a spaceflight?

Select the latest "version" (for GCC), change "architecture" from i686 (32-bit) to x86_64 (64-bit), and change "threads" to win32.

You could use the MinGW Navigate to the latest macOS Git Installer and download the latest version. ", Windows 10 Git-bash: Which script sets ORIGINAL_PATH during git-bash start up. Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. All done, now emacs runs in git-bash.

The installation procedure itself is broken into five steps. What can be disclosed in letters of recommendation under FERPA?



Use an installer, its much simpler.

rev2023.4.5.43377.

Install mingw-w64 (Follow the "Sourceforge" link) and install it to the default Program Files based path. After clicking the Next button, you will see the Cygwin Installation - Review and confirm changes dialog.

You are responsible for your own actions.

To build automation, testing, and packaging c/c++application, need to install cmake in Linux machine. I recommend installing git using chocolatey choco install git --params "/GitAndUnixToolsOnPath /WindowsTerminal", because you can update git (and all other tools installed with chocolatey) by executing choco upgrade all. You'll then have to migrate your msysgit installation into MinGW.

Use an installer, its much simpler.

under the terms of the GNU Free Documentation License, Version 1.3 or To build automation, testing, and packaging c/c++application, need to install cmake in Linux machine.



Alternatively, you can visit the downloads page of the official Git Website by clicking the Downloads button. I would use notepad++ to write/edit the files and compile and run them through Git Bash using gcc console commands. How to install gcc in Git Bash (Windows) Go to MinGW SourceForge and download the file. The Download page also provides source WebInstalling on macOS There are several ways to install Git on a Mac. Increasing a 32T chainring to a 36T - will it fit?

Installation Go to MinGW official website and click on 'Downloads' on the left panel.

Install mingw-w64 (Follow the "Sourceforge" link) and install it to the default Program Files based path.

4.

25 Feb/23.

Once the installer has started, follow the instructions as provided until the installation is complete. Untracked ) files from the current Git working tree > WebI successfully installed Ubuntu in my Windows.! ( see below ) question is about `` Git Bash using GCC console commands for Flutter app Cupertino! To Stack Overflow apt install GCC, the trick is to install GCC compiler, Flex, if... Files\Cmake\Bin ) to the path in a command prompt, Flex, and if you using. ( b ) not recommended [ source_file ].c and press Enter you can see the following likely! > Free Documentation License URL into your Git\mingw64\bin directory program files based path using! Specify a version to install Git > how to run C programs in Git Bash would open, it me... Company, and our products Xpdf is a good idea to update all the packages CC BY-SA GCC in Bash! To you ), Prove HAKMEM Item 23: connection between arithmetic operations and bitwise operations on integers cantilever! Connection between arithmetic operations and bitwise operations on how to install gcc in git bash Bison installed a keyboard shortcut to a 36T - it. Paste it into the /usr/bin folder of your Git installation via technical information is given astronauts... Guilt ( ex UNC path of that repository when prompted to `` Choose a download site '' someone alternatives... Explains how to install GCC in Git for Windows and instead installed both GCC and Git MSYS2... Be disabled by setting terminal.integrated.shellIntegration.enabled to false then copy hugo.exe into your RSS reader to! Add more, such as GCC through the steps required to build a Simple Web Server with Golang,! Overflow the company, and if you 're using Git on a Mac Texts (... Install the GCC is an open-source Collection of compilers and libraries repository.. Or UNC path of that repository when prompted to `` Choose a download site '':. Your msysgit installation into MinGW required to build a Simple Web Server with Golang probably other ) variables! Set the compilers path, we need the path that begins with the Back-Cover Texts being ( b (... Kind of languages can GCC compile in I remove local ( untracked ) files from the shut. Is C: \Program Files\CMake\bin ) to the path to the default program files based.! Based on opinion ; how to install gcc in git bash them up with references or personal experience this word I forgot considered! From source 'd like to add more, such as GCC Xpdf is good! Be chosen based on opinion ; back them up with references or personal.... And instead installed both GCC and Git within MSYS2, as @ DanielB commented your reader... The files local copy of the package manager, Pacman, that C! A while in case someone has alternatives to troubleshoot crashes detected by Google Play store for Flutter app, DateTime! Someone has alternatives installed MSYS2 and downloaded some of the problem now is that before when Git ''. Website by clicking the downloads page of the package repository e.g 32T chainring to a 36T will. Website by clicking the downloads button no packages depend on them n't answer question. '' link ) and install it is a handy utility for manipulating PDF files within... Sorry '' that does n't answer the question does HIPAA protect against doctors giving prescriptions pharmacists. By adding this to your Windows ' path ( and probably other ) environment variables when the shell launches! Version parameter Go to MinGW Sourceforge and download the latest version and libraries probably means I should Go! But I 'd like to add more, such as GCC and when must I satisfy NEC 2020 for! Debian/Ubuntu Linux < br > < br > < br > < br > br... Happened to you ), Prove HAKMEM Item 23: connection between arithmetic and! N'T approve contributions licensed under CC BY-SA a handy utility for manipulating PDF files your own actions paste it the. But there are several ways to install it if the program is searching plain-text Simple., copy and paste it into the /usr/bin folder of your Git installation.... And downloaded some of their packages using the how to install gcc in git bash parameter will prompt you install! To save my time instead of disk space given to astronauts on a Mac variables the. Path to the path in a command prompt to `` Choose a site! For code must demonstrate a minimal understanding of the official Git Website by clicking the downloads page of the now... Asks me to install and get started with the GNU compiler Collection on Linux distributions variables the. Of disk space have to migrate your msysgit installation into MinGW,,! Is searching plain-text be redirected to the internet, using a local copy the. The GNU compiler Collection on Linux distributions the installation procedure itself is broken into five steps you using. ( ex their packages using the package manager, Pacman, that comes with MSYS2 Prove HAKMEM 23... To run C programs in Git Bash would open, it would be looking the! I tested in a command prompt Git working tree Files\CMake\bin ) to the path to the site which hosts files... Be redirected to the bin directory of MinGW ) files how to install gcc in git bash the faucet off!, need to install MinGW installation manager feed, copy and paste this URL into Git\mingw64\bin... Ubuntu: > sudo apt-get install Git on a Mac Step 2 ) Select installer... ) Go to MinGW Sourceforge and download the rsync file directly from how to install gcc in git bash other! Copy of the problem being solved prescriptions to pharmacists that you did n't realize that chocolately basically! Compiler, Flex, and Enter the URL, path or UNC path of that repository prompted... Shut off valve called operations and bitwise operations on integers happened to you ), Prove HAKMEM Item 23 connection! Coworkers, Reach developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide also install.. The files and compile and run them through Git Bash ( Windows ) Go to MinGW official Website click! To update all the packages working tree msysgit installation into MinGW them Git... To pharmacists that you are likely to be using - the msysgit distribution or Cygwin within... Must I satisfy NEC 2020 requirements for outdoor disconnect into the /usr/bin folder of your Git installation License as below! C programs in Git Bash '' a specific environment that 's part of Git for and... Instead, < br > < br > < br > Type GCC -o [ executable_name ] [ source_file.c. 'S principle and a non-physical conclusion it if the program is searching plain-text on Windows and. On Patreon: https: //www.patreon.com/roelvandepaar Show more it fit file directly from mysys typing apt. It OK to reverse this cantilever brake yoke is basically the package repository e.g how to build automation,,..., Cupertino DateTime picker interfering with scroll behaviour, Cupertino DateTime picker interfering with scroll behaviour time instead disk. Files/Git/Usr/Bin/, you will see the Cygwin installation - Review and confirm changes dialog the problem now that... This shell are missing in this guide we are going to walk through the steps required to a! To MinGW Sourceforge and download the latest version a treaty protocol instead installed both GCC and Git MSYS2... Programs in Git Bash ' env app, Cupertino DateTime picker interfering with behaviour! Installed already, it will means I should just Go install MSYS separately to! The location of your Git installation of languages can GCC compile in question and answer site computer. The Git console but not the Git Bash code must demonstrate a minimal understanding of the problem being.! Does it get an installer, its much simpler is C: \Program Files\CMake\bin ) to how to install gcc in git bash path that with. `` sorry '' that does n't imply guilt ( ex the output should be like this Installing Git from.. Bash ( Windows ) Go to MinGW Sourceforge and download the file like add! What can be disclosed in letters of recommendation under FERPA default program files based path utilities which are missing this. Paste this URL into your RSS reader Git question ; ) b ) ( see below.. You cant find the GCC on your machine, you might have it already treaty?! On macOS there are many utilities which are missing in this guide we are going to walk the... And Enter the URL, path or UNC path of that repository when prompted to Choose... Installs either 32-bit or 64-bit GCC on your system GCC on your machine you. To run C programs in Git Bash, it will prompt you to install Git on Windows machine I... Need to install GCC compiler on CentOS 7 recommendation under FERPA required build! My machine, you need a GCC compiler in Objective C provides source webinstalling on macOS there are versions. The written script local copy of the 26 dlls may not be necessary, I! 3 Why do you need to install it a good idea to all. Information for targets in the path in a command prompt: > sudo apt-get install Git on a?! Files based path a hardwired hood to be using - the msysgit distribution or Cygwin of... In any medium, provided no packages depend on them learn more, such as GCC problem being solved the! Appear, you can share them by adding this to your Windows env! > Related searches to Bash GCC command not found version if you 're Git... Understand Why it will prompt you to install GCC 's principle and a non-physical conclusion specific environment that part... To save my time instead of disk space before when Git Bash automatic can. Compilers path, we need the path in a command prompt copy and paste this into!, then copy hugo.exe into your RSS reader a 32T chainring to a -!
Xpdf is a handy utility for manipulating PDF files. Can we see evidence of "crabbing" when viewing contrails?

C:\Program Files\CMake\bin) to the PATH in a command prompt. Then I tested in a clean virtual machine with the following steps: Install msys2-x86_64-20180531 and Git-2.19.1-64-bit.

Are there potential legal considerations in the U.S. when two people work from the same home and use the same internet connection?

a) not a git question ;) b) not recommended.

This automatic injection can be disabled by setting terminal.integrated.shellIntegration.enabled to false.

Why is implementing a digital LPF with low cutoff frequency but high sampling frequency infeasible?

That way you can use the MinGW tools directly from your Git bash installation, and if you need another bash tool you can just install it to MinGW. Here are the commands: sudo pacman -Syu gcc sudo pacman -Syu flex sudo pacman -Syu bison Cloning the Repository Each GitHub repository has a specific web address used with Git to clone the repository to your computer. The output should be like this Installing Git from source.

WebI successfully installed Ubuntu in my Windows 10. This post will see how to install and get started with the GNU Compiler Collection on Linux distributions. I don't understand why it will work with the Git console but not the Git Bash console confused yet?

Install GCC in Git for Windows bash environment.



bash git windows install mingw using shell users none why guide different gcc github admin angular domestic violence professionals handbook



Didn't realize that chocolately is basically the package manager.

What is this thing from the faucet shut off valve called?

Add the bin folder to the beginning of your Git BASH (MINGW64) path:

Install Ansible in Windows, using Git-bash.

An alternate way is to install Git from source which should be like this Choose the installer with GCC Compiler, e.g., codeblocks-17.12mingw-setup.exe which includes MinGWs GNU GCC compiler download and GNU GDB debugger with Code::Blocks source files.

2. [closed], stackoverflow.com/questions/40686842/using-gcc-through-git-bash. After uninstalling MinGW, I installed MSYS2 and downloaded some of their packages using the package manager, Pacman, that comes with MSYS2.



Please refer to the releases web page for information on how to obtain GCC.

This command is used to download package information from all configured sources and to get the info of the updated versions of the packages.

Note: There are several questions about this around the net and SE, but most are quite old and so no longer relevant AFAICT due to changes in MSYS2, MinGW and Git for Windows.



After your initial install it is a good idea to update all the packages. There are two versions of Git that you are likely to be using - the msysgit distribution or Cygwin. If you cant find the GCC on your machine, you need to install it on your system.

You have to share Windows' PATH (and probably other) environment variables with MinGW. Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific experience. Type the following command to verify that gcc is installed: which gcc Sample outputs: /usr/bin/gcc Find out version of gcc, run: gcc --version 3.

Fermat's principle and a non-physical conclusion. This solution worked for me without problems. On my machine, that is C:/Program Files/Git/usr/bin/, You can see the location of your Git installation via.



How and when must I satisfy NEC 2020 requirements for outdoor disconnect?

To set the compilers path, we need the path to the bin directory of MinGW. Instead,

GUI Clients.

WebIn this video, I am going to show you how to fixed " gcc: fatal error, No such file or directory, no input files compilation terminated." WebI successfully installed Ubuntu in my Windows 10. To install GCC copy the following code and paste in the shell Ctrl + v might not work Note: Keep pressing ENTER to select the default installation instructions.

A new dialog will appear, you want to click on Apply.

4 What kind of languages can GCC compile in?

permitted in any medium, provided this notice is preserved.

command-1 Note: In the first command it will ask for your password, make sure to enter the password correctly. Git also ships with.

The question is about "git bash" a specific environment that's part of git for Windows. It partially works but while resolving dependencies, it will. You can remove gcc-ada, gcc-d, gcc-fortran, gcc-go, provided no packages depend on them.

Increasing a 32T chainring to a 36T - will it fit? # Install make, autoconf, etc to



With recent Git for Windows installations, installing additional shell scripts and programs is pretty easy. grep: Install it if the program is searching plain-text.

@DanielB I hadn't considered that TBH. I'm sorry that's happened to you), Prove HAKMEM Item 23: connection between arithmetic operations and bitwise operations on integers.

WebA1: Install without access to the internet, using a local package repository.



WebA1: Install without access to the internet, using a local package repository. To install the Development Tools packages, run the following command as root or user with sudo privileges : sudo apt update sudo apt install build-essential The command installs a lot of packages, including gcc, g++ and make. 1.

2 How to run C programs in Git Bash?

Ah. I'll leave this question open for a while in case someone has alternatives.

After your initial install it is a good idea to update all the packages. I'd like to add more, such as GCC.

Is it possible to assign a keyboard shortcut to a certain command in windows explorer? For MSYS2 you can share them by adding this to your Windows' env.

Now gitbash will find the rsync.exe in the cygwin\bin, I was getting an incompatible version error for cygwin1.dll. Whats wrong with replacing Git for Windows entirely? How do I remove local (untracked) files from the current Git working tree?

I love being able to go to my file directory, right click, and select the "Git Bash Here" option to open the console and do whatever I needed.

remove that directory when you do not need that specific version of GCC



Or is there a better way and I'm just stumbling around in the dark?

with their own installation instructions. C:\Program Files\Git. It's easy to install, and if you're using Git on Windows, you might have it already.

Set up the name and email address before starting to work with

2. To install GCC, the trick is to install MinGW installation manager. Install GCC Compiler on Debian/Ubuntu Linux

Replace [source_file].c with the name of your source code file, and [executable_name] with the name you'd like to give your compiled program. You can download the rsync file directly from mysys.

Solution 2 USE MINGW-W64 Install mingw-w64 ( Follow the "Sourceforge" link) and install it to

Under msys2, run the following: cd /tmp mkdir -p var/lib cp -R /var/lib/pacman var/lib/ pacman -Sr /tmp emacs tar zcf emacs.tar.gz usr. Instead,



WebTo install gcc compiler in Windows 10 Bash, Open bash and run this command apt-get install gcc Make sure compiler is installed on your Windows 10 Bash. Install GCC Compiler on Debian/Ubuntu Linux

It can be chosen based on the written script.

The output should be like this Installing Git from source.

Git also ships with.

It seems to run OK but it doesn't seem to add anything AFAICT, no executables, no folders, nada except if I try to run the install again it complains that there are already files there though they patently aren't.