wbhart / mpir

Multiple Precision Integers and Rationals
GNU General Public License v3.0
229 stars 135 forks source link

[WIP] Support Clang on Windows #283

Closed isuruf closed 5 years ago

isuruf commented 5 years ago

cc @BrianGladman

This makes it possible to use the autotools build (with a few patches to libtool) with Clang on Windows and generate a MSVC ABI compatible fat binary.

BrianGladman commented 5 years ago

Thanks for keeping me in the loop. Since we have now separated the Windows and Linux repositories there is no necessity to keep the mpn/x86_64w/ assembler code in the two repositories in sync. Nevertheless it makes sense to keep the two repositories in line so I will check out whether these changes can be applied to my repository without breaking the native Windows build.

isuruf commented 5 years ago

Tests don't pass, even though the compilation is successful. Will re-open if I get tests to pass.