C libraries

This was definately the most dificult and time consuming part of the while thing.
Actualy, i failed on this (shame, shame), i could get compiled libs, but with i used them i got a relocation error.
I started a thread at linuxforum.com, which did not really help. You can find it here. The description below is what i did.
To go on with the project, i copy the files i needed from the /lib directory of my distribution, which also uses glibc 3.2.3.


The sources for this where found at GNU, and be sure to download glibc and glibc-linuxthreads, because you need them both.

Now, first untar the glibc tarball, and from the directory created by the tarball, untar the linuxthreads tarball.

Now you need to configure the build, the configure command i used was:
glibc-2.3.2/configure --build=i586-pc-linux-gnu --enable-add-ons=linuxthreads --prefix=

After doing that, a simple make command starts the compilation ..... which will take a few hours. Be sure to have enough disk space for this, the whole build will use a lot of disk space. When the build is ready, i didn't use make install to install, because that not what i wanted to do.
I created a directory (i called it compiled), and run the folowing command:
find . -name "*.so*" -exec cp -ap \{\} compiled/ \;
Which copied all libraries to the directory, but maintains permissions etc.

So now you have a directory of fresh compiled C libraries.

Back