D 2013-05-19T22:58:37
J icomment The\sissue\sis\sthe\sversion\sof\sMSVCRT.DLL\son\sthe\susers\ssystem.\n\nThe\s_USE_32BIT_TIME_T\sshould\sbe\sset\sbased\son\sthe\sversion\sof\sMSVCRT.DLL.\s\sIn\sother\swords\son\sXP\sOS\sversion\sthe\stime\sstructures\sfor\stime_t\sand\sthe\sstat\sstructures\sdo\snot\swork\swith\s_USE_32BIT_TIME_T\sis\sdefined.\n\nI'm\sworking\sto\sdevelop\ssome\smeans\sof\san\sautoconf\sm4\smacro\sthat\scan\sbe\sused\sto\sdetermined\swhich\sMSVCRT.DLL\sversion\swe\shave\sso\swe\sknow\sthe\ssupporting\sstructures\sat\sbuild\stime.\s\sIt\swill\sset\ssomething\slike\sMSVCRT_VERSION\sto\sthe\svalue\sof\sthe\sMSVCRT.DLL\sversion\sbased\son\sMajorLinkerVersion\sand\sMinorLinkerVersion\sobtained\sfrom\s$WINDIR/system32/msvcrt.dll\svia\sobjdump.\s\sThe\s_USE_32BIT_TIME_T\swill\sthen\sbe\sobsoleted\sand\sreplaced\sby\sMSVCRT_VERSION.\s\sI\swill\sdefault\sto\sXP\sOS\sfor\sMSVCRT_VERSION\swhen\sit\sis\snot\sdefined.\n\nI\ssent\sa\squery\sto\sthe\smingw-users\slist\sto\sfind\sthe\svalues\srepresented\sby\sthe\sOSes\savailable.\s\sThe\sfollowing\sis\sthe\slist\sof\svalues\sfor\s(MajorLinkerVersion\s*\s100)\s+\sMinorLinkerVersion:\n\nME\s-\s600\nXP\s-\s710\nVista\s-\s???\nWin7\s-\s900\nWin8\s-\s1010\n\nI'm\sguessing\sVista\shas\sthe\s32bit\stime_t\sstructures\sbut\sI\sdon't\sknow\syet.\s\sI\shope\sto\sget\sa\sVM\sbuilt\ssoon\sto\sfind\sout.\n\nNote,\sthat\sthis\swill\scause\sa\sbackward\sincompatibility\sof\sa\sbinary\sbuilt\son\sthose\sOS\ssupporting\s32bit\stime_t\sversus\sthose\swho\sdo\snot.\s\sThe\swork\saround\sfor\sthose\swho\sdo\snot\swould\sbe\sto\sfind\sthe\sMSVCR##.DLL\swhere\s##\sis\s>=\s80\sand\scopy\sit\sto\sMSVCRT.DLL\sin\sa\snon-standard\slocation\sand\sadd\sthe\snon-standard\slocation\sto\sthe\sPATH\sbefore\sthe\sWindows\sdirectories\sor\scopy\sit\sinto\sthe\sdirectories\swith\sthe\sTCL\sbinaries.\n\nBlame\sMS\sfor\sthis\sPITA\swe\sfeel\sbut\sthey\shave\severy\sright\sto\supdate\sthe\sMSVCRT.DLL\sfor\seach\snew\sOS.\n
J login earnie
J mimetype text/plain
J username earnie
K 3571241fffffffffffffffffffffffffffffffff
U earnie
Z e96ffe767783a41eb8d889e54ed38937