.
D 2004-09-21T09:50:47
J assignee mdejong
J cmimetype text/plain
J comment I\sopened\sthe\stcl.dsw\sfile,\sdoing\sthe\sconversion\srequired,\s\nand\sbuilt\sthe\sstatic\srelease.\sIt\sbuilt\sfine,\sbut\sI\scould\snot\s\nlink\sto\sit\s-\swhen\scompiling\smy\sapp_init.c\sfile\s(pinched\s\nfrom\sthe\sone\sfor\stclsh)\sthe\slinker\sreported\smissing\s\nsymbols.\sThe\susual\scause\sof\sthis\sproblem\sis\sthat\sthe\s\nlibrary\scannot\sbe\sfound\sby\sthe\slinker,\sbut\sthat\sis\s\ndefinitely\snot\sthe\scase\shere.\n\nI\shad\sseen\sthis\sproblem\swhen\sbuilding\szlib\sonce,\sand\sthe\s\nanswer\sthen\swas\sto\screate\sa\sbrand\snew\sfresh\sproject\s\nfrom\sscratch,\smaking\ssure\sI\sincluded\sall\sthe\scorrect\s\nsource\sfiles\sand\sdid\sthe\ssettings.\sAfter\ssome\seffort\sI\sgot\s\nthat\sto\sbuild,\sonly\sto\sfind\sexactly\sthe\ssame\sproblem.\n\nI\shad\schanged\sthe\ssettings\sto\scompile\sas\sC\scode,\sso\sI\s\nfigured\sthat\sthe\sway\sI\swas\scompiling\smy\sprogram\s(which\s\nis\sthe\ssame\smechanism\sas\swe\suse\sto\sbuild\sour\sproduct,\s\nand\scannot\sbe\schanged)\swas\susing\sC++\sname\smangling,\s\nand\sthus\sthe\slinker\swas\shaving\sproblems\sas\sthe\ssymbols\s\nin\sthe\slibrary\swere\smangled\sin\sthe\sC\sstyle.\n\nWhen\sI\schanged\smy\sproject\ssettings\sto\scompile\sthe\sTcl\s\nstatic\slibrary\sas\sC++\scode,\sit\sfailed\sto\sbuild\squite\s\nhorrendously,\sand\sfor\sa\squite\sobvious\sreason:\n\nint\nTclpGetTimeZone\s(currentTime)\n\s\s\s\sunsigned\slong\s\scurrentTime;\n{\n\n\nHmm\s-\swhat\san\santiquated\sfunction\sdeclaration\sstyle.\sI\s\nhaven't\sseen\sthat\sused\ssince\sI\swas\sat\sUniversity\saround\s\n1995\sor\sso.\sI\sam\ssure\syou\shave\syour\sreasons\sfor\s\ndeclaring\sfunctions\slike\sthis\srather\sthan\slike:\n\nint\nTclpGetTimeZone\s(unsigned\slong\s\scurrentTime)\n{\n\nHowever\sthis\sis\sstopping\sme\sfrom\scompiling\sTcl.\sHave\s\nyou\sany\sideas\show\sI\scan\sset\smyself\sup\sso\sI\scan\sbuild\sthe\s\nTcl\sstatic\slibrary\sfor\sWindows\susing\sVS.NET?\n\nI\ssuspect\sthat\sfor\sease\sof\sdevelopment\sin\sthe\sfuture\sI\s\nwill\sneed\sto\sintegrate\sthe\sTcl\ssource\scode\sinto\sour\sbuild\s\nsystem.\sI\sam\snot\ssure\sit\swill\sbe\spossible\sat\sthe\smoment.\n\nI\swill\sbe\seternally\sgrateful\sfor\sany\shelp\syou\scan\sgive\sme.\n\nAlastair\sGrowcott\[email protected]\n\n
J foundin obsolete:\s8.4.7
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title Problems\sbuilding\son\sWindows\s2k\swith\sVS.NET
J type Bug
K 1031781fffffffffffffffffffffffffffffffff
U nobody
Z 00419aee9e439706fcbcf04fd370b4e0