Skip to content
Tcl Source Code Artifact [b976d441d6]
Login

Artifact [b976d441d6]

Artifact b976d441d6abe9e3ccdf43dfd1dfa05949dbbe85:

Ticket change [b976d441d6] - Ticket [1643367fffffffff|1643367fff] <i>Thread extension cannot compile with VC8</i> status still Open with 4 other changes by twylite on 2007-03-28 00:09:41.
D 2007-03-28T00:09:41
J icomment Logged\sIn:\sYES\s\nuser_id=91629\nOriginator:\sNO\n\nAnd\sthat's\sonly\sthe\sstart\sof\syour\sproblems\s...\n\nI\shave\sjust\sgot\sthe\slatest\sthread\smodule\sfrom\sCVS,\sand\sam\sgetting\serrors\sbuilding\sit\swith\sVC6\sor\sVC8\s(on\sWindows\s2000).\n\n\s\sc:\\build\\thread\\win\\vc>nmake\s/f\smakefile.vc\sall\sOPTS=threads\sTCLDIR=..\\..\\..\\tcl\n\s\s...<snip>\n\s\sLINK\s:\sfatal\serror\sLNK1181:\scannot\sopen\sinput\sfile\s"..\\..\\..\\tcl\\win\\Release\\tclstub84.lib"\n\s\sNMAKE\s:\sfatal\serror\sU1077:\s'link'\s:\sreturn\scode\s'0x49d'\n\s\sStop.\n\nI\sam,\sof\scourse,\sbuilding\sthis\sextension\sfor\suse\swith\sTcl\s8.5.\s\sThe\sproblem\scan\sbe\ssolved\sby\sadding\sa\sTCL_DOTVERSION\sargument\sto\snmake,\sbut\sthis\sshould\sbe\sdetected\svia\stcl.h\s(and\sTCLDIR).\n\n\s\snmake\s/f\smakefile.vc\sall\sOPTS=threads\sTCLDIR=..\\..\\..\\tcl\sTCL_DOTVERSION=8.5\n\s\s\n--\n\nNext,\sthe\stests\sfail\sto\srun.\n\n\s\sc:\\build\\thread\\win\\vc>nmake\s/f\smakefile.vc\stest\sOPTS=threads\sTCLDIR=..\\..\\..\\tcl\sTCL_DOTVERSION=8.5\n\s\s...<snip>\n\s\sthread.test\n\s\scan't\sread\s"::tcl_PatchLevel":\sno\ssuch\svariable\n\s\s...<snip>\n\s\sTests\sended\sat\sTue\sMar\s27\s17:16:53\s+0200\s2007\n\s\sall.tcl:\s\s\s\s\s\s\s\sTotal\s\s\s0\s\s\s\s\s\s\sPassed\s\s0\s\s\s\s\s\s\sSkipped\s0\s\s\s\s\s\s\sFailed\s\s0\n\nCapatalisation\sproblem\swith\spatchLevel.\s\sEasily\ssolved\s--\sbut\sit's\sbeen\sthat\sway\ssince\sJanuary\s2005?!\s\s\n\n--\n\nThird,\s"make\sinstall"\sonly\scopies\sthe\sDLL;\sit\sdoesn't\screate\spkgIndex.tcl.\n\nThis\scan\sbe\ssolved\sby\smanually\screating\sa\spkgIndex.tcl\sbased\son\spkgIndex.tcl.in,\sor\smodifying\sthe\smakefile.vc\sto\screate\sthe\spkgIndex.tcl\susing\sits\svariables.\n\nThe\sinstall\salso\sdoesn't\sname\sthe\slib\sfolder\scorrectly\s(thread\sinstead\sof\sthread2.6),\sand\sdoesn't\scopy\sother\sthread\slib\sfiles\s(ttrace.tcl).\n\n--\n\nForth,\spkg.vc\sreflects\san\sold\sversion\s(2.6.3)\swhich\sis\snot\sin\ssync\swith\sconfigure.in.\n\n--\n\nAnd\sthen\syou\scan't\seven\sbuild\sat\sall\swith\sVC8.\n\n--\n\nThe\sattached\spatch\supdates\sthe\smakefile.vc\sand\srules.vc\sto\sbe\sin\sline\swith\sthe\ssampleextension\sin\sCVS\s(plus\sthe\schanges\sI\shave\ssubmitted\sin\sbug\s[\s1689286\s]\snmakehlp\snot\sbuilding\son\sWin32\swith\sVC).\n\nTested\swith\sVC6\sand\sVC8\son\sWindows\s2000.\s\sBuilds,\sinstalls\sand\sruns\scorrectly\s(including\srunning\sall\stests),\sso\sfar\sas\sI\scan\stell\s;)\n\nThere\sare\sa\snumber\sof\schanges:\n\s\s-\sconfigure.in:\snote\sto\schange\sDOTVERSION\sin\smakefile.vc\swhen\syou\supdate\sthe\sversion\n\s\s-\swin/thread.rc:\sthe\ssampleextension\smakefile.vc\sprovides\sdifferent\svariables/defines\sto\src\n\s\s-\stests/thread.test:\stcl_PatchLevel\s==>\stcl_patchLevel\n\s\s-\swin/makefile.vc,\swin/nmakehlp.c\sand\swin/rules.vc:\sadded,\sbased\son\ssampleextension\swith\sminimal\schanges\sneeded\sto\smake\sit\swork\swith\sthreads\sextension\n\nThe\sfiles\swin/vc/makefile.vc,\swin/vc/nmakehlp.c,\swin/vc/pkg.vc\sand\swin/vc/rules.vc\sare\sno\slonger\srequired\sand\sshould\sbe\sdeleted.\s\sThey\shave\seffectively\sbeen\smoved\sto\swin/\sand\sreplaced\swith\supdates\sbased\son\ssampleextension.\s\sIf\sthese\sfiles\sstay\sin\swin/vc\sand\sget\smodified\sto\sbe\sin\sa\s"non-standard"\slocation,\sthen\swe\sensure\sthis\spain\severy\stime\sthey\sneed\sto\sbe\supdated\s(otherwise\swe\sjust\scopy\sfrom\ssampleextension).\n\n
J login twylite
J mimetype text/plain
J username twylite
K 1643367fffffffffffffffffffffffffffffffff
U twylite
Z f78dac58707f56cfec4cff0c2ea86ff5