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

Porting Kissat 4.0.2 to MinGW MSYS2 #61

Open
a1880 opened this issue Jan 24, 2025 · 1 comment
Open

Porting Kissat 4.0.2 to MinGW MSYS2 #61

a1880 opened this issue Jan 24, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@a1880
Copy link

a1880 commented Jan 24, 2025

To port Kissat to MinGW MSYS2 under Windows, I had to change some macro definitions:

File: application.c
defines ERROR. This causes a redefinition warning
Suggested code near line 318

#ifdef ERROR
#undef ERROR
#endif

File: handle.h
SIGBUS is undefined for MinGW
Sugested code near line 13

#ifndef SIGBUS
#define SIGNAL_SIGBUS
#else
#define SIGNAL_SIGBUS SIGNAL (SIGBUS)
#endif

File: statistics.c
defines RELATIVE. This causes a redefinition warning
Sugested code near line 48

#ifdef RELATIVE
#undef RELATIVE
#endif

To implement timeout, handling of SIGALRM signals and time measurement, I am using the Windows abstraction layer of Felix Simon.

Thank you for Kissat and best greetings,

Axel Kemper

@arminbiere
Copy link
Owner

Thanks, will work on MinGW port (and maybe Windows at some point).

@arminbiere arminbiere added the enhancement New feature or request label Jan 25, 2025
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

2 participants