I noted that a recent update to Debian Unstable's MinGW had the
libpthread-mingw package. This is the Pthreads-win32 package integrated
into Mingw W64. I've pushed a recent set of patches fixing a few build
issues with enabling pthreads in MinGW. Enabling threading exposed
another bug where an additional header file must be included for W2k
support. This means that rigctld and rotctld may now accept multiple
concurrent connections just as on POSIX systems. I was able to connect
with three instances of rigctl in my tests on W2k, Windows XP, and Windows 7.
As a result, I think that our custom getaddrinfo and freeaddrinfo
implementation may now be obsolete as MinGW is providing that support.
Also, I pushed patches this week that corrected some build issues in
Cygwin when building Hamlib as a Cygwin hosted executable (not compiled
with MinGW in Cygwin, that I've yet to try). One thing that does not
work when compiling in Cygwin is the '--with-included-ltdl' option to
configure. It even fails with the same ltdl provided by Cygwin when the
build system is bootstrapped from a Git clone in Cygwin. The symptom is
that the first backend library (Icom in this case) does not find the
symbols in libhamlib at link time. It works perfectly without the
option to configure. I'd appreciate any hints on that one.
Finally, the daily snapshots are now built on a Debian Wheezy virtual
machine starting with today's snapshot. For all the builds I have
tested, this is now the cleanest although there are a few things in some
of the backend source that the older version of GCC complains about in
MinGW. I'll take a look at them in the future. The Windows binary
snapshots are built on my Debian Unstable desktop machine with the
latest MinGW packaged for Debian. It works very well.
Lada, you may want to test the latest master branch to be sure
everything still works in MXE. I plan to make this the basis of
backporting the build system to the 1.2 branch for a 1.2.16 release
later this summer.
73, de Nate >>
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."
Ham radio, Linux, bikes, and more: http://www.n0nb.us