Last active
March 12, 2018 23:20
-
-
Save ConstantineLignos/4601835 to your computer and use it in GitHub Desktop.
Building picosat on Windows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Turn off features that will not work on Windows. | |
*/ | |
#define NGETRUSAGE | |
#define NALLSIGNALS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to build: | |
1. Add the lines in 'picosat_additions.h' to 'picosat.h'. A good spot to place them is just below '#include <stdio.h>'. These turn off features that rely on headers not present in MSYS. | |
2. Run: | |
./configure | |
3. Make the config manually, to avoid a circular dependency introduced by the makefile not distinguishing between the VERSION file and version.h on case-insensitive systems: | |
./mkconfig > config.h | |
4. Run: | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what environment did you run ./configure in? What are the pre-reqs (Visual Studio, cygwin, etc)?