Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR Configure Makefile for windows compatibility #9

Open
ccgargantua opened this issue Jan 10, 2024 · 0 comments
Open

FR Configure Makefile for windows compatibility #9

ccgargantua opened this issue Jan 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ccgargantua
Copy link
Owner

The current Makefile only functions as intended on Linux, but not Windows. Here is a description of problems and potential solutions.

  1. Valgrind is not supported on Windows. Since PRs require absence of memory leaks with $ make test, finding an alternative command line memory profiler is necessary and should be conditionally applied to Windows builds.
  2. The absence of the .exe file extensions on generated executables results in failure of automated runs, also present on $ make test. This could likely be solved with a simple macro. EXT := .exe or something similar.
  3. The default compiler for $(CC) chosen when building on Windows is cc, which is not ideal. I would prefer MSVC be used, or at the very least mingw. I'm not really sure how to handle this one to be completely honest.

I tested this using make installed through the chocolatey package manager for windows.

@ccgargantua ccgargantua added the enhancement New feature or request label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant