Does gcc support __thread variables on Solaris? With the gcc's that I compile I get tls_test.c:3: error: thread-local storage not supported for this target but is that the true state of affairs, or is there a parameter I can tweak to turn it on? - Richard -- Richard C. Bilson, Research Assistant | School of Computer Science rcbilson@xxxxxxxxxxxxxxxx | University of Waterloo http://plg.uwaterloo.ca/~rcbilson | 200 University Avenue West Office: DC 3548F Ph: (519)888-4567x4822 | Waterloo, Ontario, CANADA N2L 3G1