10-09-06 06: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
[ Post a follow-up to this message ]
|