Howto enable thread-local storage?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Topics > Howto enable thread-local storage?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Howto enable thread-local storage?  
Stan R.


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-09-06 06:13 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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register