View Single Post
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#45
Originally Posted by marmistrz View Post
Has anyone tried to compile libc6 >= 2.10?
I'm on it, namely on trunk of elibc (version > 2.15). I'm not fully tested results or checked steps, but here comes sketch how it should go (my vision).

(I have binutils2.22 installed, not sure is it needed. More info later)

You need newer gcc than 4.2.


Libc needs autoconf2.68.

Autoconf2.68 needs:
m4 1.4.13, but we have only 1.4.8-2.
pkg-config 0.26, but we have only 0.22


Compiling m4 1.4.13:
Based on ubuntu 12.04 package
lower dependency of texi2html
Code:
#this check is failing
rm ./checks/005.command_li
#this test is failing
rm ./tests/test-spawn-pipe.sh
Installing m4
Code:
fakeroot dpkg -i

Compiling pkg-config 0.26
Based on ubuntu 12.04 package
Fetch debian/rules from Fremantles version


installing pkg-config
Code:
fakeroot dpkg -i ../pkg-config_0.26-1ubuntu1_armel.deb
#outside of scratchbox
sudo rm /scratchbox/devkits/autotools-legacy/bin/pkg-config
sudo ln -s /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/pkg-config /scratchbox/devkits/autotools-legacy/bin/pkg-config

Compiling autoconf2.68
Based on ubuntu 12.04 package
Code:
echo 5 > /debian/compat

Installing autoconf
Code:
fakeroot dpkg -i ../autoconf_2.68-1ubuntu2_all.deb
#outside of scratchbox
sudo rm /scratchbox/devkits/autotools-legacy/bin/autoconf
sudo ln -s /scratchbox/users/`whoami`/targets/FREMANTLE_ARMEL/usr/bin/autoconf /scratchbox/devkits/autotools-legacy/bin/autoconf

Compiling eglibc
Code:
svn co svn://svn.eglibc.org/branches/eglibc-2_14 eglibc
mkdir eglibc_build
cd eglibc_build
CC=gcc-4.6 ../eglibc/libc/configure --enable-add-ons=nptl,../eglibc/ports --prefix=/opt/
make
 

The Following 7 Users Say Thank You to AapoRantalainen For This Useful Post: