[GiNaC-list] Cross-compiling on Linux for Windows via x86_64-w64-mingw32-g++

Richard B. Kreckel kreckel at in.terlu.de
Wed Jul 28 09:25:04 CEST 2021


Hi Christian,

On 28.07.21 02:41, c.diddens--- via GiNaC-list wrote:
> My Python code works perfect in Linux, but as a long time goal, I also
> want to produce Python Wheels for Windows. However, I have a hard time
> to cross-compile GiNaC and CLN for Windows (64 bit).
> 
> Does anyone has some experience with that? I am aware of the
> precompiled Windows binary, but they seem to be a bit out of date...

I cannot offer direct help since I do not use Windows, sorry. But for
what it's worth, a number of fixes went into CLN and GiNaC for fixing
cross-compilation, MinGW, linker issues, CMake, etc. These fixes aren't
released in one of the tarballs yet (should be soon).

So, if you've been using the released tarballs, it is worth trying from
the git main branch.

All my best,
   -richard.
-- 
Richard B. Kreckel
<https://in.terlu.de/~kreckel/>


More information about the GiNaC-list mailing list