cpython/Tools/buildbot
Martin v. Löwis 70ce8aae98 Merged revisions 64239 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64239 | martin.v.loewis | 2008-06-13 19:22:39 +0200 (Fr, 13 Jun 2008) | 1 line

  Switch to bzip2 1.0.5.
........
2008-06-13 17:28:35 +00:00
..
README.tcltk-AMD64 Merged revisions 55962-56019 via svnmerge from 2007-06-18 17:58:50 +00:00
build-amd64.bat Merged revisions 62177-62178,62180-62193 via svnmerge from 2008-04-07 03:17:54 +00:00
build.bat Merged revisions 62177-62178,62180-62193 via svnmerge from 2008-04-07 03:17:54 +00:00
buildmsi.bat Merged revisions 62954-62959,62961,62963-62967,62969-62970,62972-62973,62975-62976,62978-62982,62984,62987-62996 via svnmerge from 2008-05-15 22:51:26 +00:00
clean-amd64.bat Merged revisions 61639 via svnmerge from 2008-03-20 01:18:35 +00:00
clean.bat Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,61285-61286,61288-61290,61298,61303-61305,61312-61314,61317,61329,61332,61344,61350-61351,61363-61376,61378-61379,61382-61383,61387-61388,61392,61395-61396,61402-61403 via svnmerge from 2008-03-16 00:07:10 +00:00
external-amd64.bat Merged revisions 64185-64196 via svnmerge from 2008-06-13 14:11:59 +00:00
external-common.bat Merged revisions 64239 via svnmerge from 2008-06-13 17:28:35 +00:00
external.bat Merged revisions 64185-64196 via svnmerge from 2008-06-13 14:11:59 +00:00
test-amd64.bat Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,61285-61286,61288-61290,61298,61303-61305,61312-61314,61317,61329,61332,61344,61350-61351,61363-61376,61378-61379,61382-61383,61387-61388,61392,61395-61396,61402-61403 via svnmerge from 2008-03-16 00:07:10 +00:00
test.bat Merged revisions 59642-59665 via svnmerge from 2008-01-02 18:30:52 +00:00

README.tcltk-AMD64

Comments on building tcl/tk for AMD64 with the MS SDK compiler
==============================================================

I did have to build tcl/tk manually.

First, I had to build the nmakehlp.exe helper utility manually by executing
   cl nmakehlp.c /link bufferoverflowU.lib
in both the tcl8.4.12\win and tk8.4.12\win directories.

Second, the AMD64 compiler refuses to compile the file
tcl8.4.12\generic\tclExecute.c because it insists on using intrinsics
for the 'ceil' and 'floor' functions:

  ..\generic\tclExecute.c(394) : error C2099: initializer is not a constant
  ..\generic\tclExecute.c(398) : error C2099: initializer is not a constant

I did comment out these lines; an alternative would have been to use
the /Oi- compiler flag to disable the intrinsic functions.
The commands then used were these:

   svn export http://svn.python.org/projects/external/tcl8.4.12
   cd tcl8.4.12\win
   REM
   echo patch the tcl8.4.12\generic\tclExecute.c file
   pause 
   REM
   cl nmakehlp.c /link bufferoverflowU.lib
   nmake -f makefile.vc MACHINE=AMD64
   nmake -f makefile.vc INSTALLDIR=..\..\tcltk install
   cd ..\..
   svn export http://svn.python.org/projects/external/tk8.4.12
   cd tk8.4.12\win
   cl nmakehlp.c /link bufferoverflowU.lib
   nmake -f makefile.vc TCLDIR=..\..\tcl8.4.12 MACHINE=AMD64
   nmake -f makefile.vc TCLDIR=..\..\tcl8.4.12 INSTALLDIR=..\..\tcltk install
   cd ..\..