USE MINGW-W64
Install mingw-w64 (Follow the "Sourceforge" link) and install it to the default
Program Filesbased path.Select the latest "version" (for GCC), change "architecture" from
i686(32-bit) tox86_64(64-bit), and change "threads" towin32.Add the
binfolder to the beginning of your Git BASH (MINGW64) path:$ export PATH="c:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin:$PATH"You'll, of course, need to adjust the above path to match the version of your of your particular install:
$ export PATH="c:/Program Files/mingw-w64/<YOUR_ARCH_VERSION_REVISION_FOLDER>/mingw64/bin:$PATH"
Alternatively
You may be able to just install it directly into the same folder as Git:
C:\Program Files\Git.
But I haven't tried this alternative approach and I wouldn't recommend it because it is likely to cause issues when updating and may confuse uninstallers, leaving remnants. (if the two installations don't interfere to begin with)
[ Edit: GNU Make is installed as mingw32-make.exe. You can make a copy of it, somewhere in your $PATH which you have permission to, and rename it to make. Git Bash seems to respect that it's executable, even without an extension, which is handy if you don't want it picked up outside of the MinGW environment (even though it may be in your PATH). ]
USE MINGW-W64
Install mingw-w64 (Follow the "Sourceforge" link) and install it to the default
Program Filesbased path.Select the latest "version" (for GCC), change "architecture" from
i686(32-bit) tox86_64(64-bit), and change "threads" towin32.Add the
binfolder to the beginning of your Git BASH (MINGW64) path:$ export PATH="c:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin:$PATH"You'll, of course, need to adjust the above path to match the version of your of your particular install:
$ export PATH="c:/Program Files/mingw-w64/<YOUR_ARCH_VERSION_REVISION_FOLDER>/mingw64/bin:$PATH"
Alternatively
You may be able to just install it directly into the same folder as Git:
C:\Program Files\Git.
But I haven't tried this alternative approach and I wouldn't recommend it because it is likely to cause issues when updating and may confuse uninstallers, leaving remnants. (if the two installations don't interfere to begin with)
[ Edit: GNU Make is installed as mingw32-make.exe. You can make a copy of it, somewhere in your $PATH which you have permission to, and rename it to make. Git Bash seems to respect that it's executable, even without an extension, which is handy if you don't want it picked up outside of the MinGW environment (even though it may be in your PATH). ]
Videos
GCC discusses moving to Git
avr gcc - How do I access the "most official" repository for architecture specific GCC runtime source files&tests? - Stack Overflow
How do I obtain a specific old version of GCC?
pfsense-tools.git clang gcc | Netgate Forum
USE MINGW-W64
Install mingw-w64 (Follow the "Sourceforge" link) and install it to the default
Program Filesbased path.Select the latest "version" (for GCC), change "architecture" from
i686(32-bit) tox86_64(64-bit), and change "threads" towin32.Add the
binfolder to the beginning of your Git BASH (MINGW64) path:$ export PATH="c:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin:$PATH"You'll, of course, need to adjust the above path to match the version of your of your particular install:
$ export PATH="c:/Program Files/mingw-w64/<YOUR_ARCH_VERSION_REVISION_FOLDER>/mingw64/bin:$PATH"
Alternatively
You may be able to just install it directly into the same folder as Git:
C:\Program Files\Git.
But I haven't tried this alternative approach and I wouldn't recommend it because it is likely to cause issues when updating and may confuse uninstallers, leaving remnants. (if the two installations don't interfere to begin with)
[ Edit: GNU Make is installed as mingw32-make.exe. You can make a copy of it, somewhere in your $PATH which you have permission to, and rename it to make. Git Bash seems to respect that it's executable, even without an extension, which is handy if you don't want it picked up outside of the MinGW environment (even though it may be in your PATH). ]
You have to share Windows' PATH (and probably other) environment variables with MinGW. For MSYS2 you can share them by adding this to your Windows' env. variables:
MSYS2_PATH_TYPE=inherit
Hi, as part of a project with studying old software, I'd like to get the source code for GCC 2.6.3. https://gcc.gnu.org/releases.html shows that it released November 30, 1994. But there's no link attached to it. How would I dig back in the development history to get a copy of that source code? I think I would need to do some kind of git command, but I don't know enough git to be able to actually do that. I do want to see the source code, and don't really care if it also has an executable or not.
Thanks!