Re: compiling Tcl 8.4 for 64bit on Windows XP64



Pat Thoyts schrieb:

Have a close check. In my SetEnv.cmd file I see near the top:
Set CPU=i386
IF "%~1" == "/SRV64" Set CPU=IA64
IF "%~1" == "/XP64" Set CPU=AMD64
IF "%~1" == "/X64" Set CPU=AMD64


my SDK have this lines.

I open a shell and execute this lines:
vcvars32.bat
"C:\Program Files\Microsoft Platform SDK\SetEnv.Cmd" /XP64
nmake -f makefile.vc MACHINE=AMD64

and the out from the compiler is:

Microsoft (R) Program Maintenance Utility Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

===============================================================================
cl : Command line warning D9002 : ignoring unknown option '-ML'
'nmakehlp' is not recognized as an internal or external command,
operable program or batch file.
*** Compiler has 'Optimizations'
'nmakehlp' is not recognized as an internal or external command,
operable program or batch file.
'nmakehlp' is not recognized as an internal or external command,
operable program or batch file.
*** Intermediate directory will be '.\Release\tcl_Dynamic'
*** Output directory will be '.\Release'
*** Suffix for binaries will be ''
*** Optional defines are ''
*** Dependency rules are not being used.

cl -nologo -c -W3 -YX -Fp.\Release\tcl_Dynamic\ -O2 -Op -Gs -MD
-I"..\win" -I"..\generic" -DTCL_PIPE_DLL=\"tclpip84.dll\"
-Fo.\Release\tcl_Dynamic\tclAppInit.obj ..\win\tclAppInit.c
cl : Command line warning D9002 : ignoring unknown option '-YX'
cl : Command line warning D9002 : ignoring unknown option '-Op'
tclAppInit.c
rc -fo .\Release\tcl_Dynamic\tclsh.res -r -i "..\generic"
-D__WIN32__ ..\win\tclsh.rc
cl -O2 -Op -Gs -nologo -c -W3 -YX -Fp.\Release\tcl_Dynamic\ -Zl
-DSTATIC_BUILD -I"..\win" -I"..\generic" -Fo.\Release\tcl_
Dynamic\tclStubLib.obj ..\generic\tclStubLib.c
cl : Command line warning D9002 : ignoring unknown option '-Op'
cl : Command line warning D9002 : ignoring unknown option '-YX'
tclStubLib.c
rc -fo .\Release\tcl_Dynamic\tcl.res -r -i "..\generic"
-D__WIN32__ ..\win\tcl.rc
cl -nologo -c -W3 -YX -Fp.\Release\tcl_Dynamic\ -O2 -Op -Gs -MD
-I"..\win" -I"..\generic" -DTCL_PIPE_DLL=\"tclpip84.dll\"
-DBUILD_tcl -Fo.\Release\tcl_Dynamic\
@C:\DOCUME~1\roetel\LOCALS~1\Temp\nm78.tmp
cl : Command line warning D9002 : ignoring unknown option '-YX'
cl : Command line warning D9002 : ignoring unknown option '-Op'
regcomp.c
...\generic\regcomp.c(455) : warning C4267: 'function' : conversion from
'size_t' to 'unsigned int', possible loss of data
...\generic\regcomp.c(460) : warning C4267: 'function' : conversion from
'size_t' to 'unsigned int', possible loss of data
d:\develop\external\tcltk\tcl8.4.12\generic\regc_color.c(247) : warning
C4267: 'function' : conversion from 'size_t' to 'unsig
ned int', possible loss of data
d:\develop\external\tcltk\tcl8.4.12\generic\regc_color.c(253) : warning
C4267: 'function' : conversion from 'size_t' to 'unsig
ned int', possible loss of data
d:\develop\external\tcltk\tcl8.4.12\generic\regc_nfa.c(1234) : warning
C4267: 'function' : conversion from 'size_t' to 'unsign
ed int', possible loss of data
d:\develop\external\tcltk\tcl8.4.12\generic\regc_nfa.c(1235) : warning
C4267: 'function' : conversion from 'size_t' to 'unsign
ed int', possible loss of data
d:\develop\external\tcltk\tcl8.4.12\generic\regc_nfa.c(1244) : warning
C4267: '=' : conversion from 'size_t' to 'int', possibl
e loss of data
d:\develop\external\tcltk\tcl8.4.12\generic\regc_cvec.c(50) : warning
C4267: 'function' : conversion from 'size_t' to 'unsigne
d int', possible loss of data
d:\develop\external\tcltk\tcl8.4.12\generic\regc_cvec.c(133) : warning
C4244: '=' : conversion from '__int64' to 'int', possib
le loss of data
regerror.c
regexec.c
...\generic\regexec.c(207) : warning C4267: 'function' : conversion from
'size_t' to 'unsigned int', possible loss of data
...\generic\regexec.c(224) : warning C4267: 'function' : conversion from
'size_t' to 'unsigned int', possible loss of data
...\generic\regexec.c(287) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(289) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(290) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(323) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(324) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(327) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(329) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(330) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(372) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(374) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(375) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(438) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(439) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(527) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(528) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(778) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(816) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(871) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
...\generic\regexec.c(909) : warning C4244: '=' : conversion from
'__int64' to 'regoff_t', possible loss of data
d:\develop\external\tcltk\tcl8.4.12\generic\rege_dfa.c(298) : warning
C4267: 'function' : conversion from 'size_t' to 'unsigne
d int', possible loss of data
::
::
::

.



Relevant Pages