LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Help:how to change the vesion information of glibc (https://www.linuxquestions.org/questions/programming-9/help-how-to-change-the-vesion-information-of-glibc-255016/)

willy_young 11-15-2004 05:44 AM

Help:how to change the vesion information of glibc
 
when I have compiled the glibc ,the file named libpthread-0.9.so will contain the version information of glibc .how can I change the information by modifying the Makefile of glibc or linuxthread?

teval 11-15-2004 10:46 AM

You want to change the version that glibc reports to other programs?
Definitely a bad bad idea (grepping the sources for something like version might shed some light, or even better for the current version string).

I'm probably misunderstanding your question, but if I'm not, why not just compile the new version? To change the version string you'd need a recompile anyway, and that would probably break every program you try to download, because it would be looking at a version of libc that has one API but a different #.

Why do you want to do this? :)

willy_young 11-15-2004 06:50 PM

sorry, my English is poor.In fact,I want to make the libkse(the thread library of FreeBSD)run with the glibc,even replace liunxpthread library.but as you know,some program need the vesion information of glibc .How can I add the information to the libkse?

willy_young 11-15-2004 06:57 PM

I hope you could understand :)

willy_young 11-17-2004 07:29 PM

up


All times are GMT -5. The time now is 04:50 AM.