MS Compiler to build Python 2.3 extension

Discussion in 'Python' started by garyrob, Jun 29, 2005.

  1. garyrob

    garyrob Guest

    Hello,

    I have no Microsoft compilers on my hard disk. I recenly built a C API
    Python extension for Python 2.3 on OS X, and now I need to build it for
    Windows.

    When I start Python 2.3 on Windows, it says it was built with "MS C
    v.1200". I'm not sure how that maps to current Microsoft compiler
    products.

    Someone who works with me (at another location) has MS Visual Studio
    Pro 6.0 which he isn't using and can send to me. Will that do the
    trick? Or do I need to buy another package?

    Thanks,
    Gary

    --

    Gary Robinson
    CTO [of a very tiny company]
    Emergent Music, LLC

    207-942-3463
    Company: http://emergentmusic.com
    Blog: http://www.garyrobinson.net
     
    garyrob, Jun 29, 2005
    #1
    1. Advertising

  2. [Gary]
    > I recenly built a C API Python extension for Python 2.3
    > on OS X, and now I need to build it for Windows. Will
    > [MS Visual Studio Pro 6.0] do the trick?


    Yes. That's exactly the compiler that Python 2.3 itself, and most 2.3
    extensions, were built with.

    --
    Richie Hindle
     
    Richie Hindle, Jun 29, 2005
    #2
    1. Advertising

  3. garyrob

    Guest

    MS Visual C++ 6 is indeed the compiler that the python.org
    distributions are built with, but MinGW works fine too. In fact, the
    code generated by MinGW-GCC 3.4.4 outpaces that generated by MSVC++ 6.0
    by a considerable margin in some of my performance-critical extensions,
    and the size of the binaries is often smaller.
     
    , Jun 30, 2005
    #3
  4. [woodsplitter]
    > MS Visual C++ 6 is indeed the compiler that the python.org
    > distributions are built with


    Just to add back some context for people not following the thread: this is
    Python 2.3 we're talking about. 2.4 is built with Visual Studio.NET.

    > but MinGW works fine too. In fact, the
    > code generated by MinGW-GCC 3.4.4 outpaces that generated by MSVC++ 6.0
    > by a considerable margin in some of my performance-critical extensions,
    > and the size of the binaries is often smaller.


    Interesting!

    --
    Richie Hindle
     
    Richie Hindle, Jun 30, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nicolas Lehuen
    Replies:
    3
    Views:
    748
    Nicolas Lehuen
    Jan 28, 2004
  2. rzed
    Replies:
    0
    Views:
    295
  3. Toon Knapen
    Replies:
    2
    Views:
    381
    Toon Knapen
    May 17, 2006
  4. Lonnie Princehouse
    Replies:
    2
    Views:
    330
    Lonnie Princehouse
    Jan 11, 2008
  5. Wong Wah Meng-R32813
    Replies:
    0
    Views:
    729
    Wong Wah Meng-R32813
    Sep 18, 2011
Loading...

Share This Page