Skip to content
Tcl Source Code Artifact [e37177ddb4]
Login

Artifact [e37177ddb4]

Artifact e37177ddb4dd5b7ee008a8f73d2c66e54da4e1f6:

Ticket change [e37177ddb4] - New ticket [3546272fffffffff|3546272fff] <i>win/makefile.vc produces different files than win/Makefile</i>. by nijtmans on 2012-07-20 09:51:47.
D 2012-07-20T09:51:47
J assignee nijtmans
J cmimetype text/plain
J comment A\snormal\sbuild\susing\swin/Makefile,\sconfigured\nwith\s--enable-shared\s(the\sdefault)\sproduces\sthe\nfollowing\sfile\snames:\n\s\s\s\swin/tcl86.dll\n\s\s\s\swin/tclsh86.exe\ndoing\sthe\ssame\swith\swin/makefile.vc\sproduces:\n\s\s\s\swin/tcl86t.dll\n\s\s\s\swin/tclsh86t.exe\n\nDoing\sa\s--disable-shared\sbuild\swith\swin/Makefile:\n\s\s\s\swin/tcl86s.dll\n\s\s\s\swin/tclsh86s.exe\ndoing\sthe\ssame\swith\swin/makefile.vc,\susing\nOPTS=static,msvcrt\s(equivalent\sto\n--disable-shared\sin\swin/configure)\sproduces:\n\s\s\s\swin/tcl86tsx.dll\n\s\s\s\swin/tclsh86tsx.exe\n\nExplanation:\swin/makefile.vc\suses\sthe\nfollowing\ssuffixes\s(from\swin/rules.vc):\n#\sNaming\sconvention:\n#\s\s\st\s=\sfull\sthread\ssupport.\n#\s\s\ss\s=\sstatic\slibrary\s(as\sopposed\sto\san\n#import\slibrary)\n#\s\s\sg\s=\slinked\sto\sthe\sdebug\senabled\sC\n#run-time.\n#\s\s\sx\s=\sspecial\sstatic\sbuild\swhen\sit\n#links\sto\sthe\sdynamic\sC\srun-time.\n\nThe\soption\s't'\s(threads)\sis\sthe\sdefault\nsince\s8.6,\sand\s'x'\s(msvcrt)\sis\snormally\nused\sin\scombination\swith\sstatic\nbuilds\sto\sreduce\sthe\ssize\sof\sthe\nexecutable\s(nowadays\severyt\swin32\nsystem\shas\smsvcrt.dll\son-board)\n\nIn\sorder\sto\slet\swin/makefile.vc\sproduce\nthe\ssame\sexecutable\snames\sas\swin/Makefile,\nthe\sfollowing\sis\sproposed:\n-\sInvert\sthe\soption\sOPTS=msvcrt\sto\n\s\sOPTS=nomsvcrt,\seffectively\smaking\smsvcrt\n\s\sthe\sdefault\sfor\sboth\sdynamic\sand\sstatic\n\s\sbuilds,\sas\swin/Makefile\sdoes\n-\sInvert\sthe\smeaning\sof\sthe\soptions\s't'\sand\s'x'\n\s\smeaning\s'no\sthreads'\sand\s'no\smsvcrt',\sso\sthey\n\s\sonly\sappear\sin\sthe\sfile\sname\swhen\susing\n\s\snon-default\sbuilds.\n-\schange\sthe\spath\swhere\sbinaries\sare\sbuilt\n\s\s(MSVC>6)\sto\sXXX_Dynamic\s(by\sdefault)\sor\n\s\sXXX_Static\s(for\sstatic\sbuilds).\sFor\snon-threaded\n\s\sbuilds,\sprepend\s'NonThreaded'\sto\sit,\sfor\n\s\snon-msvcrt\sbuilds,\sappend\s'X'\sto\sit.\n\nThis\sway,\sno\sspecial\stricks\sneed\sto\sbe\sdone\nany\smore\sin\sextensions,\sbecause\sTcl/Tk\nstatic\slibraries\smight\shave\sa\s't'\sin\sthe\nfilename\s(8.6)\sor\snot\s(<8.6)\n\n(patch\sstill\sbeing\sdeveloped)
J foundin obsolete:\s8.6b3
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nijtmans
J subsystem 50.\sEmbedding\sSupport
J title win/makefile.vc\sproduces\sdifferent\sfiles\sthan\swin/Makefile
J type Bug
K 3546272fffffffffffffffffffffffffffffffff
U nijtmans
Z 2d6fde76c66002fb1e80ec2496365410