How can I specify what compiler to use on Cygwin?

Hi there,

I’m working on packaging PyMuPDF for Cygwin, and found that it tries to build with Visual Studio instead of a compiler like Clang or GCC that works with Cygwin. Is there a way I can specify a compiler to use? I’d rather not have to patch source files to do this but if I need to then I will, but just asking in case there’s something I’ve missed in the documentation.

Best,

Hamish

@hamishmb
Welcome to the forum! Seems like we can track this conversation here for the details on this:

Good luck!

We could do, but that’s a separate issue, and it’s for PyMuPDF, whereas this problem is a MuPDF problem as far as I can tell. Is that definitely the best place for it? Or should I open another issue there?

Apologies - I hadn’t appreciated the nuances here!
For this kind of question I would advise trying the #mupdf channel on Join our Discord because that is generally where the engineers hang out the most at the moment.