.
D 2013-09-02T13:12:15.599
J foundin current:\s8.6.0
J icomment Let's\stake\sa\sminimal\sexample:\r\n\r\n<pre>\r\n#include\s<tcl.h>\r\nvoid\smain(int\sargc,\sconst\schar\s*argv[]){\r\n\s\sTcl_FindExecutable(argv[0]);\r\n\s\sprintf("OK\\n");\r\n}\r\n</pre>\r\n\r\nThen\s(from\sa\sCygwin\sor\sMSys\sshell):\r\n<pre>\r\n$\si686-w64-mingw32-gcc\s-o\smain.exe\smain.c\s-I/Tcl/include\s-DUNICODE\s-D_UNICODE\s-L/Tcl/lib\s-ltcl86\r\n$\s./main.exe\r\nOK\r\n$\si686-w64-mingw32-gcc\s-o\smain.exe\smain.c\s-I/Tcl/include\s-L/Tcl/lib\s-ltcl86\r\n$\s./main.exe\r\nOK\r\n</pre>\r\n\r\nUsing\s-DUSE_TCL_STUBS\shas\sexactly\sthe\ssame\sresult,\sfor\sTcl_FindExecutable\r\nthat\sdoesn't\smake\sany\sdifference\s(for\sother\sfunctions\sit\sdoes)\r\n\r\nSorry,\sI\scannot\sreproduce\sthis\sproblem.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Works\sFor\sMe
J status Pending
K 8419b6d9ae1cfc61a215d4cd588304df2981b76f
U jan.nijtmans
Z 6adb96c48a18569340cf3f01d284b703