Developing for Cygwin from POSIX host

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Fri Aug 7 04:56:47 GMT 2020


On 2020-08-06 19:58, John Scott via Cygwin wrote:
> I'm writing an application in C that's increasingly dependent on the POSIX 
> APIs and would like to use the Cygwin DLL to help port it to Windows. I 
> currently use MinGW-w64 but foresee that will stop being sufficient eventually.
> 
> I want to do this using only free software without a Windows installation. A 
> GNU/Linux to Cygwin cross compiler doesn't seem available, at least on Debian. 
> Cygwin also fails to run under Wine.

Should work as there are fixes in each for the other.

> I'm not interested in the Cygwin userspace, I just need the POSIX layer. Aside 
> from booting up a ReactOS VM, is there a more clean way to do what I seek to 
> do?

There's a Fedora->Cygwin cross environment documented in:

	https://cygwin.com/pipermail/cygwin/2020-July/245695.html

or your local copy from July 27-28.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]


More information about the Cygwin mailing list