[zeromq-dev] [PATCH] Fix incorrect include usage on Windows #2

Steven McCoy steven.mccoy at miru.hk
Thu Jun 16 18:11:18 CEST 2011


On 15 June 2011 20:22, Steven McCoy <steven.mccoy at miru.hk> wrote:

> On 15 June 2011 17:18, Steven McCoy <steven.mccoy at miru.hk> wrote:
>
>> Tested correct on all 6 Windows build configurations.  The only remaining
>> question I have is regarding the rather silly NOxxx definitions, I
>> updated to SDK 7 *windows.h* but they really don't need to be there at
>> all.
>>
>>
> Working on the Linux side, I have no idea what Canonical have done as in
> 11.04 everything is a mess.  There are two conflicting packages, *
> gcc-mingw32* and *mingw32 *with the latter looking like the official *mingw32
> *and the former is the *i586* version of the* mingw32-w64* fork but they
> are packaged to share the same run-time.  Both the *i586 *compilers work
> before and after patching but the *x86-64* build which has gone BSD naming
> style, i.e. *amd64* instead of *x86-64* and bails out as configure doesn't
> pick up the C++ compiler.
>
> I'll try again tomorrow and have a look at Debian and maybe install from
> upstream to see if they fair better as that is where I pulled from before.
>
>
Looks like Debian upstream is at fault according to this bug report:

https://bugs.launchpad.net/ubuntu/+source/gcc-mingw32/+bug/568028

So there are the following targets:

   - Ubuntu AMD64 MinGW - fail due to no C++ compiler
   - Ubuntu i586 MinGW - pass
   - Ubuntu MinGW32 - pass
   - Ubuntu MinGW PPA i686 w64-mingw32 - fail due to lack of "real file"
   libraries in link stage
   - Ubuntu MinGW PPA x86_64 w64-mingw32 - fail due to lack of "real file"
   libraries in link stage

Picking up from snapshots:

http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/

   - mingw-w64-bin_x86_64-linux<http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/mingw-w64-bin_x86_64-linux_20110615.tar.bz2/download>
    - fail due to lack of "real file" libraries in link stage
   - mingw-w64-bin_i686-linux<http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/mingw-w64-bin_i686-linux_20110615.tar.bz2/download>
    - fail on integration: confusing as all paths are x86_64, requires
   dependencies further than *ia32-libs* provides.

So all the distributions seem useless for 64-bit until mingw-w64 1.0.0 is
actually released.  I have a snapshot in HK that produces correct binaries
but everything else appears broken on integration.  ZeroMQ itself appears
not at fault.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110616/87180dc2/attachment.htm>


More information about the zeromq-dev mailing list