On 5 June 2015 at 02:28, MRAB wrote:
> For reference, here's how I can build the regex module on Windows 8.1,
> 64-bit, using only MinGW64.
>
> For Python 3.5, I can link against "python35.dll", but for earlier
> versions, including Python 2.7, I need "libpython.a".
>
> I have built regex module f
On 05/06/2015 01:37, MRAB wrote:
Steve Dower's post has prompted me to look again at building the regex
module for Python 3.5, 32-bit and 64-bit, using just Mingw64 and
linking against python32.dll. It works!
Earlier versions of Python, however, including Python 2.7, still seem
to want libpython
On 2015-06-05 01:37, MRAB wrote:
On 2015-05-27 09:25, Paul Moore wrote:
On 27 May 2015 at 09:10, Nick Coghlan wrote:
The old distutils docs aren't gone, the top level links just moved to the
distutils package docs: https://docs.python.org/3/library/distutils.html
I kept them (with the same de
On 2015-05-27 09:25, Paul Moore wrote:
On 27 May 2015 at 09:10, Nick Coghlan wrote:
The old distutils docs aren't gone, the top level links just moved to the
distutils package docs: https://docs.python.org/3/library/distutils.html
I kept them (with the same deep link URLs) because I know there
On 27 May 2015 at 09:10, Nick Coghlan wrote:
> The old distutils docs aren't gone, the top level links just moved to the
> distutils package docs: https://docs.python.org/3/library/distutils.html
>
> I kept them (with the same deep link URLs) because I know there's stuff in
> there that isn't curr
On 26 May 2015 23:25, "Paul Moore" wrote:
>
> On 26 May 2015 at 13:55, Steve Dower wrote:
> > The builds I am responsible for include it because someone reported an
issue
> > and was persistent and helpful enough that I fixed it for them.
> >
> > That said, until MinGW agrees on a stable branch/v
On 27 May 2015 at 03:02, MRAB wrote:
> When I tried:
>
> C:\MinGW64\bin\dlltool.exe
>
> or:
>
> C:\MinGW64\x86_64-w64-mingw32\bin\dlltool.exe
>
> for the 32-bit builds, they wouldn't link.
Was that with "-m i386"? If so, then I suspect that's the issue.
Steve, did you use 64-bit mingw to
On 2015-05-26 18:27, Paul Moore wrote:
> On 26 May 2015 at 18:23, MRAB wrote:
> > I made libpython35.a like I did for the others and it's all working
now. All
> > the tests pass. :-)
>
> Cool. How did you make libpython35.a? Sounds like there is some
> difference in the process being used for t
On 26 May 2015 at 18:23, MRAB wrote:
> I made libpython35.a like I did for the others and it's all working now. All
> the tests pass. :-)
Cool. How did you make libpython35.a? Sounds like there is some
difference in the process being used for the shipped version.
Paul
___
On 2015-05-26 14:24, Paul Moore wrote:
> On 26 May 2015 at 13:55, Steve Dower wrote:
> > The builds I am responsible for include it because someone reported
an issue
> > and was persistent and helpful enough that I fixed it for them.
> >
> > That said, until MinGW agrees on a stable branch/vers
On 26 May 2015 at 13:55, Steve Dower wrote:
> The builds I am responsible for include it because someone reported an issue
> and was persistent and helpful enough that I fixed it for them.
>
> That said, until MinGW agrees on a stable branch/version/fork, there seems
> to be a good chance that the
gt;
Sent: 5/26/2015 2:50
To: MRAB<mailto:pyt...@mrabarnett.plus.com>
Cc: Python-Dev<mailto:python-dev@python.org>
Subject: Re: [Python-Dev] Unable to build regex module against Python 3.5 32-bit
On 26 May 2015 at 07:49, Paul Moore wrote:
> Do you get the same failure when using d
On 26 May 2015 at 07:49, Paul Moore wrote:
> Do you get the same failure when using distutils to build the extension?
Hmm, I just checked and it seems that only Python 3.5 ships
libpythonXY.a by default - 3.4 and earlier (at least on my machine)
don't have it. Presumably you generated it yourself
On 26 May 2015 at 00:34, MRAB wrote:
> The 32-bit Python says it's 32-bit and the 64-bit Python says it's 64-bit.
>
> ---8<---
>
> C:
>
> rem Compile for Python 3.5 (64-bit) [works]
> cd C:\MinGW64\bin
> "C:\MinGW64\bin\gcc.exe" -mdll -m64 -DMS_WIN64 -O2 -Wall -Wsign-compare
> -Wconversion -I"C:\P
On 2015-05-25 22:59, Paul Moore wrote:
> On 25 May 2015 at 21:06, MRAB wrote:
> > As the subject says, I've been unable to build the regex module against
> > Python 3.5b1 for 32-bit. MingGW says:
> >
> > skipping incompatible .../libpython35.a when searching for
-lpython35
> >
> > It builds
On 25 May 2015 at 21:06, MRAB wrote:
> As the subject says, I've been unable to build the regex module against
> Python 3.5b1 for 32-bit. MingGW says:
>
> skipping incompatible .../libpython35.a when searching for -lpython35
>
> It builds without a problem against Python 3.5 for 64-bit.
>
> An
On 2015-05-25 21:09, Ryan Gonzalez wrote:
> Try building the module with -m32. The error message basically means:
"../libpython35.a is 32-bit, but what you're building is 64-bit." Gotta
love ld!
>
Unless I've missing something, I'm already passing it to gcc.
All of the other versions build wit
Try building the module with -m32. The error message basically means:
"../libpython35.a is 32-bit, but what you're building is 64-bit." Gotta love ld!
On May 25, 2015 3:06:01 PM CDT, MRAB wrote:
>As the subject says, I've been unable to build the regex module against
>Python 3.5b1 for 32-bit. Mi
As the subject says, I've been unable to build the regex module against
Python 3.5b1 for 32-bit. MingGW says:
skipping incompatible .../libpython35.a when searching for -lpython35
It builds without a problem against Python 3.5 for 64-bit.
Any ideas? Should I just wait until beta 2?
19 matches
Mail list logo