On 03/25/2016 10:49 PM, Nathaniel Smith wrote:
> On Fri, Mar 25, 2016 at 2:23 PM, Ruben De Smet <
ruben....@rubdos.be> wrote:
>> Hello,
>>
>> I'm currently working on a Python module, which I'd like to set under CI
>> using mingw on a Linux machine.
>>
>> I can get it compiled and linked using mingw under Arch Linux, but it
>> doesn't run when loaded (MemoryError).
>>
>> Is this project the one I should watch for development on that topic? I
>> would compile the thing using MSVC, but I'm using C99 variadic macro's,
>> so that doesn't really work.
I will probably rewrite those macro's tomorrow into something less C99,
so this project can go on, but after that I'm still very interested in
mingw because of CI and stuff like that.
>
> Yes, mingwpy should allow you to use gcc to build Python modules for
> windows targeting python 2.6 / 2.7 / 3.3 / 3.4.
>
> Currently it's only been tested for building Windows-native compilers,
> but it should be possible to build mingwpy as a cross-compiler in
> principle, and is definitely a desirable feature. I don't know
> anything about how mingw cross-compilers are generally built, but if
> you figure it out then we'd definitely like to know :-). (For all I
> know it might be as simple as just running the existing build script
> on Linux -- the scripts are written in bash.) Otherwise then probably
> someone else will get around to doing this at some point, but it's
> hard to know when.
I will probably try very soon, probably this weekend.
What exactly are the differences with a normal mingw compiler? I read
about defaulting to static linkage of libgcc and libstdc++, but I can
achieve that too by using a regular mingw-w64 (`-static -static-libgcc
-static-libstdc++`).
>
>> I would like to get subscribed to this list, but I am unable to (except
>> for my
gmail.com account, but I do not read that).
>
> The general rule for google groups is that you can subscribe with a
> non-gmail address... *unless* you have a google account that has both
> your non-gmail address associated with it, and also a gmail address.
> If your non-gmail address and gmail address are both associated with
> the same google account, then in that case google forces you to use
> the gmail address. It's *extremely* annoying :-(. But maybe that gives
> you some clue for how to work around it...
I've managed to ask for a subscription by sending an email to
mingw+subscribe at googlegroups dot com.
I wrongly sent an e-mail via another e-mail account; you can ignore that.
>
> (I guess you could make some free email address somewhere -- possibly
> even gmail -- and configure it to forward all email to your real
> account, and then subscribe that address to the list.)
I have my own e-mail server, that should do the trick imo :p
Thank you,
Ruben