ckormanyos / make-4.2.1-msvc-build

GNUmake 4.2.1 built with MSVC for use on Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make-4.2.1-msvc-build

Build Status

This repository takes the source code for GNUmake 4.2.1 within the file make-4.2.1.tar.gz from here and adapts the legacy MSVC build to a more modern version of MSVC 14.2.

Instructions to build make-4.2.1-msvc-build

Here are the instructions to build make-4.2.1-msvc-build.

  • Clone or get ckormanyos/make-4.2.1-msvc-build.
  • Navigate to the MSVC solution file make-4.2.1.sln which is stored here.
  • Open make-4.2.1.sln in MSVC 14.2 - i.e., Microsoft(R) VisualStudio(R) 2019 or higher (the Community Edition works also).
  • Select Debug/Release as desired in the usual way.
  • Leave the solution configuration x64 set in the usual way (since this is actually the only supported solution configuration).
  • Rebuild solution and find the executable file make-4.2.1.exe in the standard output path location.

You might want to rename the executable from make-4.2.1.exe file to simply make.exe. The resulting executable file make-4.2.1.exe ( or if manually renamed make.exe) can be used just like you would use regular, traditional make on *nix.

Changes

Minor changes in the source code have been undertaken.

  • Disable the famous warning 4996.
  • Leave all other warnings unchanged.
  • Change the name of one shadowed variable.
  • Update the legacy MSVC workspace and adapt its naming.
  • Add a solution configuration x64 with settings initially copied from x86 in the usual MSVC way.
  • Eliminate the x86 configuration and retain only the 64-bit solution configuration x64.
  • Upload build artifact in CI for make-4.2.1-win64-msvc, see also discussion in issue 1.

About

GNUmake 4.2.1 built with MSVC for use on Windows

License:GNU General Public License v3.0


Languages

Language:C 52.4%Language:TeX 15.5%Language:Perl 11.2%Language:Makefile 8.6%Language:M4 5.0%Language:Shell 3.5%Language:Roff 2.4%Language:DIGITAL Command Language 0.6%Language:Batchfile 0.6%Language:Scheme 0.1%Language:sed 0.0%