Re: C89/C99/ANSI compliance - cleanups needed?

"H.G. Muller" <[email protected]> Tue, 12 Jan 2016 08:39:20 +0100
Newsgroups gmane.comp.gnu.xboard.devel
Message-ID <[email protected]>

Op 1/12/2016 om 4:27 AM schreef Joshua Pettus:
>  Because Cygwin phased out using -mno-cygwin gcc flag, (it doesn’t 
> work at all now)  we really should get rid of this on the makefile.gcc

I still use gcc 3.4.4 to build the WinBoard distribution binary, for 
this reason. I don't know what is the modern way to make MinGW compiles 
on Cygwin.
When I tried to find an alternative it seemed that stand-alone MinGW 
compilers could not co-exist with Cygwin. And I am kind of attached to using
the Linux command line through Cygwin, so I don't want to lose that 
possibility. OTOH, it would also be nice if I could make 64-bit compiles 
of my
engines, which does not seem possible with gcc 3.4.4. WinBoard is 
probably best distributed as a 32-bit binary, so a single binary can run 
on all
Windows machines.

> I just tried mingw in cygwin to build hgm’s branch of winboard, and it 
> compiled successfully. (with mingw, not cygwin’s gcc as posix select() 
> is different from window’s select() and fails)   I imagine mingw will 
> work on other unix systems.