#76 VC8.0 build patch for AMD64 branch

closed-fixed
None
5
2007-05-24
2007-04-23
Steve Yin
No

Well, I managed to build amd64 branch with vs8.0.

why vs8? it's better for amd64 build. of course, I also used vista updated sdk as platform sdk.

also, something need to be done with Python25\Lib\distutils\msvccompiler.py, so this built can be build.

here is the patch.

Discussion

  • Steve Yin
    Steve Yin
    2007-04-23

    Logged In: YES
    user_id=1613955
    Originator: YES

    this patch built on today's cvs revision.

     
  • Mark Hammond
    Mark Hammond
    2007-04-23

    Logged In: YES
    user_id=14198
    Originator: NO

    I'm afraid this patch still needs work - in some cases you have simply removed functionality which works today. While that might be acceptable for 64bit builds, its not acceptable for future 32 bit builds. Any chance you can make all the relevant changes conditional?

    Thanks

     
  • Steve Yin
    Steve Yin
    2007-04-24

    updated patch

     
    Attachments
  • Steve Yin
    Steve Yin
    2007-04-24

    Logged In: YES
    user_id=1613955
    Originator: YES

    well, here we are. the updated patch.

    Note: I can not build axdebug extension. because I don't know where to find the corresponding activdbg.h file to vista sdk. But, I DID found these IID_ in uuid.lib under Lib\x64. but just no header.

    I have little knowledge about ATL & COM under windows.
    File Added: vc8-build.patch

     
  • Steve Yin
    Steve Yin
    2007-04-24

    Logged In: YES
    user_id=1613955
    Originator: YES

    you said I comment out some function, the function I only commented out is ado support, you know, there is no ado under x64, also, there is no naked keyword under x64.

     
  • Mark Hammond
    Mark Hammond
    2007-04-24

    Logged In: YES
    user_id=14198
    Originator: NO

    that's great - thanks! I'm actually getting a x64 box within the week, so I might hang off until then to apply it.

    It's worth noting that the trunk has also had some generic amd64 work done, and that might get close to building too. I'm afraid I haven't been paying much attention to the 64bit world.

     
  • Mark Hammond
    Mark Hammond
    2007-04-24

    • assigned_to: nobody --> dreamcatcher
     
  • Mark Hammond
    Mark Hammond
    2007-04-24

    Logged In: YES
    user_id=14198
    Originator: NO

    sidnei - what is the status of your branch?

     
  • Logged In: YES
    user_id=438768
    Originator: NO

    The branch was building last I tried, haven't touched it since. We certainly need to merge the changes done on trunk.

    Steve: Are you building on Vista, or just using the new Platform SDK?

     
  • Steve Yin
    Steve Yin
    2007-04-27

    Logged In: YES
    user_id=1613955
    Originator: YES

    no, I don't have vista, just vista sdk. because vista sdk can be used on XP. supportted platform, right :)

     
  • Mark Hammond
    Mark Hammond
    2007-05-24

    Logged In: YES
    user_id=14198
    Originator: NO

    Thanks very much for these changes. I think you will find them all applied on the trunk (note the branch will soon go away). Please let me know if you have any problems.

    Also FWIW, we are chatting about the distutils changes on distutils-sig and python-list - the idea currently is that we will just copy the files from the PCBuild8 dir back into PCBuild via the .bat files in PCBuild8. This should avoid any changes to distutils (assuming you use the hack that I've mentioned in setup.py's docstring) I'd love to hear how you go and what you think of these proposed changes.

     
  • Mark Hammond
    Mark Hammond
    2007-05-24

    • status: open --> closed-fixed