EddyRivasLab / easel

Sequence analysis library used by Eddy/Rivas lab code
Other
46 stars 26 forks source link

Add some compatibility code for compiling with MinGW #62

Closed althonos closed 2 years ago

althonos commented 2 years ago

Hi!

With the following preprocessor directives, I am successful in compiling easel on Windows with MinGW, allowing for an (almost) native compilation of Easel on Windows. Contrary to Cygwin, MinGW lets you compile an binary that works even in the plain Windows environment, so this should be a first step towards getting Easel and HMMER on Windows.

Changes are:

Although it builds, not all tests pass at the moment, most likely due to remaining compatibility issues. The following keep failing:

All the miniapps are marked as crashing as well, but I can make them run fine, even in a cmd.exe shell, so I think it's more likely a test driver issue than an actual crash, although there may be some edge cases: image