I appreciate deeply your help on this.
Now I'm wandering why this code works on Linux? As i understand tcl has the same threading model both on Solaris and on Linux.
Besides, that was just the example of the problem. The real problem is in more complex application. In that application Tcl works...
I have a very simple application. The printf in myProc produces no results if i run it on Linux. On Solaris 7 it prints the message "this isn't a Tk application".
Why?
Compilation and linking:
gcc -o mytk.run mytk.c -L/usr/openwin/lib -ltcl -ltk -lX11 -ldl -lm -lpthread...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.