GOAL:
I need GNU Make to compile harbour-3.0.0-win (a C project) on 64-bit Windows 10 Pro.
WHAT I'VE DONE:
I downloaded and installed Visual Studio Community 2022 17.12.4 to have a C/C++ compiler.
I downloaded winlibs-x86_64-win32-seh-gcc-14.2.0-llvm-19.1.3-mingw-w64msvcrt-12.0.0-r1 and unzipped it.
PROBLEMS:
The unzipped version_info.txt file did not provide instructions for installing any of the tools that were unzipped.
Searching for "install" in the C:\Users\rbeyn\Downloads\winlibs-x86_64-win32-seh-gcc-14.2.0-llvm-19.1.3-mingw-w64msvcrt-12.0.0-r1.zip folder and it's subfolders did not return any results.
I've tried to add the path to Visual Studio to my PATH command, both running the Command window as an Administrator and not, and every time I close the Command window, my changes to the PATH disappear.
NEED:
1) How do I install GNU Make 4.4.1 ?
2) If needed, how do I change my PATH command to point to Visual Studio so GNU Make can use it's C/C++ compiler?
Please let me know.
Thank you,
Robert Beyne
rbeyne@woh.rr.com
No installation is necessary.
The unzipped archive provides the command line tools ready to use.
I strongly advise against making system-wide changes to the PATH environment variable.
Instead point your IDE to the full paths of the tools you want to use.
An example on how to do this for Code::Blocks is explained here:
https://winlibs.com/#usage-codeblocks
For Visual Studio Code it should be pretty much the same.
I do you hope you mean Visual Studio Code (the IDE) and not the full Visual Studio programming environment, because that comes with Microsoft's build tools and you should not mix them with GNU compiler tools based on MinGW-w64.