Unix administration - How to enable thread-local storage support?

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > October 2006 > How to enable thread-local storage support?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to enable thread-local storage support?
Stan R.

2006-10-09, 1:28 pm

How does one enable thread-local storage?

I'm in the process of adding an updated glibc to my system (with prefix
/usr/local/glibc2.4/, so not to break anything using the old glibc that
came with this redhat box.)

First, I had to get the newest GCC, version 4.1.1, so I compiled it with
this configure line:

../gcc/configure --prefix=/usr/local/gcc4 --enable-threads=posix

It built, and make install then succeeded and from there, I went to
build glibc 2.4:

../glibc-2.4/configure --prefix=/usr/local/glibc2.4 --enable-addons
CC=/usr/local/gcc4/bin/gcc

In the the middle of the "checking" list I noticed "checking for
__thread... no" but it keeps going until this:


checking for __thread... no
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com