Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ckormanyos/make-4.2.1-msvc-build
GNUmake 4.2.1 built with MSVC for use on Windows
https://github.com/ckormanyos/make-4.2.1-msvc-build
gnumake msvc
Last synced: 24 days ago
JSON representation
GNUmake 4.2.1 built with MSVC for use on Windows
- Host: GitHub
- URL: https://github.com/ckormanyos/make-4.2.1-msvc-build
- Owner: ckormanyos
- License: gpl-3.0
- Created: 2021-10-31T15:22:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-31T06:03:32.000Z (about 1 year ago)
- Last Synced: 2024-04-28T03:19:38.248Z (6 months ago)
- Topics: gnumake, msvc
- Language: C
- Homepage:
- Size: 1.81 MB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
make-4.2.1-msvc-build
==================[![Build Status](https://github.com/ckormanyos/make-4.2.1-msvc-build/actions/workflows/make-4.2.1.yml/badge.svg)](https://github.com/ckormanyos/make-4.2.1-msvc-build/actions)
This repository takes the source code for GNUmake 4.2.1
within the file `make-4.2.1.tar.gz`
from [here](https://ftp.gnu.org/gnu/make/)
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](https://github.com/ckormanyos/make-4.2.1-msvc-build).
- Navigate to the MSVC solution file `make-4.2.1.sln` which is [stored here](./make-4.2.1/).
- 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](https://github.com/ckormanyos/make-4.2.1-msvc-build/issues/1).