At the moment, it is not possible to build an executable using CYGWIN POSIX layer because W32API files conflict with the ones of NEWLIB if they are used together. So, the configure script must distinguish between them. Hopefully, it is an easy task and in my opinion the script can be simplified a bit if using just is_win32 rather than the long list of compilers.
Attached patch describes my solution.
After applying this fix, VICE can be built and executed on CYGWIN with its X server.
EDIT: this is an example of the errors that you get:
Last edit: Carlo Bramini 2021-10-31
Does it actually work complete with sound and hw scaling etc?
Here, it works everything fine.
I configured it with:
I had to disable ALSA otherwise the configuration process stops.
After doing "make install", I started pulseaudio with:
Finally, I started xterm and X server with xlaunch tool, I went into my inst_vice/bin directory and I launched x64sc.exe.
Audio is working fine.
Graphic output is also fine (I attached an image with VICE running into a maximized window).
I tried to load and run some programs from some D64 and they also worked fine. The programs are some BASIC source files that I typed from some old magazines in my hands.
Last edit: Carlo Bramini 2021-10-31
Applied in rev 41046, thanks for the patch.