Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Windows compiler for Python 2.6+

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


chris at atlee

Feb 28, 2007, 1:44 PM

Post #1 of 5 (441 views)
Permalink
Windows compiler for Python 2.6+

I just got bitten by the runtime library incompatibility problem on
windows when I tried to load a C extension compiled with MSVC 2005
(64-bit) into Python 2.5.

I realize that Python2.5 will continue to use MSVC 2003 for
compatibility reasons, but I was curious if any thought had been given
to the future of the 2.x series.

Cheers,
Chris
_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


jcarlson at uci

Feb 28, 2007, 1:58 PM

Post #2 of 5 (407 views)
Permalink
Re: Windows compiler for Python 2.6+ [In reply to]

"Chris AtLee" <chris[at]atlee.ca> wrote:
> I just got bitten by the runtime library incompatibility problem on
> windows when I tried to load a C extension compiled with MSVC 2005
> (64-bit) into Python 2.5.

I would guess it is more an issue of 32bit + 64bit dynamic linking
having issues, but I could certainly be wrong.


> I realize that Python2.5 will continue to use MSVC 2003 for
> compatibility reasons, but I was curious if any thought had been given
> to the future of the 2.x series.

IIUC, there exists a project file in PCBUILD8 for compiling with MSVC
2005. You should be able to recompile Python 2.5 with that compiler,
though you may need to change some things (I've never tried myself).

- Josiah

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


chris at atlee

Feb 28, 2007, 2:24 PM

Post #3 of 5 (414 views)
Permalink
Re: Windows compiler for Python 2.6+ [In reply to]

On 2/28/07, Josiah Carlson <jcarlson[at]uci.edu> wrote:
> "Chris AtLee" <chris[at]atlee.ca> wrote:
> > I just got bitten by the runtime library incompatibility problem on
> > windows when I tried to load a C extension compiled with MSVC 2005
> > (64-bit) into Python 2.5.
>
> I would guess it is more an issue of 32bit + 64bit dynamic linking
> having issues, but I could certainly be wrong.

I don't think so, this was the 64bit version of Python 2.5. When I
recompiled with the 2003 compiler it worked fine.

> > I realize that Python2.5 will continue to use MSVC 2003 for
> > compatibility reasons, but I was curious if any thought had been given
> > to the future of the 2.x series.
>
> IIUC, there exists a project file in PCBUILD8 for compiling with MSVC
> 2005. You should be able to recompile Python 2.5 with that compiler,
> though you may need to change some things (I've never tried myself).

That is kind of a last-resort for me...I'd like for my code to work
with all the other python extensions out there, which is why I
switched to the 2003 compiler for now.
_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Feb 28, 2007, 2:31 PM

Post #4 of 5 (413 views)
Permalink
Re: Windows compiler for Python 2.6+ [In reply to]

Chris AtLee schrieb:
> I just got bitten by the runtime library incompatibility problem on
> windows when I tried to load a C extension compiled with MSVC 2005
> (64-bit) into Python 2.5.
>
> I realize that Python2.5 will continue to use MSVC 2003 for
> compatibility reasons, but I was curious if any thought had been given
> to the future of the 2.x series.

You are mistaken. The 64-bit versions (AMD64 and Itanium) are not
compiled using MSVC 2003 - this product does not even include
compilers for this platform. Instead, they are compiled with the
SDK compilers.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com


martin at v

Feb 28, 2007, 10:21 PM

Post #5 of 5 (408 views)
Permalink
Re: Windows compiler for Python 2.6+ [In reply to]

Chris AtLee schrieb:
>> I would guess it is more an issue of 32bit + 64bit dynamic linking
>> having issues, but I could certainly be wrong.
>
> I don't think so, this was the 64bit version of Python 2.5. When I
> recompiled with the 2003 compiler it worked fine.

Again, what 2003 compiler did you recompile with? There is none.

Regards,
Martin

_______________________________________________
Python-Dev mailing list
Python-Dev[at]python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/list-python-dev%40lists.gossamer-threads.com

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.