Amir Binyamini wrote:
Hello,

I want to use a second glibc on Linux; mainly for hacking glibc;
I do want to keep the original glibc with came with my distribution. (Which is RedHat 9)
so that the kenel and apps will still use it.


I have succeeded in building glibc 2.3.2 ; I had installed it to a private folder (using ./configure --prefix=/work/myglibc) so it will not interfere with any system libraries.

Now , I am trying to compile and link a simple HelloWorld program in "C" against the glibc I
had made. As I understand fromm googling , I should use the new libc.so and the new dynamic linker (ld.so.)

Two easiest methods:

1. Link statically aagainst your new glibc.
2. use a chroot().

On second though, forget 1. ;-)

Gilad

--
Gilad Ben-Yossef <[EMAIL PROTECTED]>
Codefidence. A name you can trust(tm)
Web: http://codefidence.com  | SIP: [EMAIL PROTECTED]
Tel: +972.9.8650475 ext. 201 | Fax:  +972.9.8850643

"I am Jack's Overwritten Stack Pointer"
        -- Hackers Club, the movie

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to