[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XBoard-devel] C89/C99/ANSI compliance - cleanups needed?
From: |
Joshua Pettus |
Subject: |
Re: [XBoard-devel] C89/C99/ANSI compliance - cleanups needed? |
Date: |
Tue, 12 Jan 2016 08:14:29 -0500 |
Thing is Cygwin now won’t let you install gcc 3.4.4 or anything earlier then
4.9, not without compiling and installing yourself. So any new user like me
would have quite a bit of trouble sticking with gcc. Really the mingw
compilers is just another checkbox on the cygwin installer and is no harder to
install then gcc. You can still use the cygwin command-line environment, just
change the compiler to mingw as you would on any other unix system. You may be
confusing the mingw compiler with the standalone minsys environment that is on
the mingw homepage. Which is another option and is every bit as commandline as
cygwin, just without the ability to compile for cygwin’s unix environment,
which as I said, doesn’t work anyway as there is the windows version of the
select function used in winboard and gets hung up on.
Josh
> On Jan 12, 2016, at 2:39 AM, H.G. Muller <address@hidden> wrote:
>
>
>
> 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.
>