From: Stephane F. <f8...@fr...> - 2011-03-27 17:23:16
|
Sab, Mar 26, 2011, Charles Suprin skribis: > Thanks on the pointer regarding fdopen. Good luck. > > Nate, > > Someone appears to have cracked this nugget on newer than WinNT > versions. There are some calls _open_osfhandle and _fdopen that > appear to do the translation in the windows world. Hopefully > tomorrow, I will sit down and get the windows compile working on my > machine to start coding this. Right on! _open_osfhandle()/_fdopen() do the trick. I've been able to cross-build rigctld.exe and rotctld.exe, and test them OK under Wine (and Linux native gpredict :-). Now they are present in the new release hamlib-win32-1.2.13-1.zip at https://sourceforge.net/projects/hamlib/files/hamlib/1.2.13/ > On Sat, Mar 26, 2011 at 11:01 AM, Nate Bargmann <n0...@n0...> wrote: > > * On 2011 26 Mar 09:00 -0500, Stephane Fillod wrote: > >> Hi guys and hamlib-developer list, > >> > >> hamlib-win32-1.2.13.zip has just been released. > >> https://sourceforge.net/projects/hamlib/files/ > > > > Congrats, Stephane! > > > > Did you release this using changes in the test-mingw32-build branch? > > I'd like to keep README.release current. I'd also like to add the DLL > > to the daily snapshots, which will probably just require some tweaking > > of my shell script. :-) Yes, I've used a backported patch from test-mingw32-build branch. BTW, can the test-mingw32-build branch be merged into the trunk? The DLL building script in README.release is not really a working script, but rather a guideline. I have yet to write a clean script, and send it to you Nate. > >> NB: this win32 release is still missing rigctld.exe/rotctld.exe daemons > >> because Windows is lacking a working fdopen() call for sockets. > >> Some replacement/workaround has yet to be devised. > >> > >> http://thread.gmane.org/gmane.linux.hams.hamlib.devel/2565/focus=2568 > > > > It would seem someone has cracked this nut. Seems someone mentioned a > > possible way that could be implemented through CPP #ifdef and such. Indeed, and I'm quite happy to see this working without too much hassle. It's now time to hear from beta-testers on Windows. 73 -- Stephane - F8CFE |