1 # hdw - linux toolchain glibc package
3 # author: hackbard@hackdaworld.dyndns.org
7 ## [D] glibc-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/
8 ## [D] glibc-linuxthreads-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/
9 # [D] glibc.tar.bz2 cvs:anoncvs:sources.redhat.com:cvs/glibc:libc
13 [ "$ver" = "cvs" ] && extraver=""
15 confopt=${confopt//--host* /--host=$hdw_arch_build }
16 confopt="$confopt --enable-add-ons=nptl --disable-profile --with-tls"
17 confopt="$confopt --without-cvs --without-gd"
18 confopt="$confopt --with-headers=$prefix/glibc-kernheaders"
19 confopt="$confopt --with-binutils=$prefix/bin"
24 # create and change to seperated build directory
25 mkdir -p ../glibc-build &&
28 # configure and prepare Makefile
29 ../${srcdir}${extraver}/configure $confopt
32 touch $prefix/etc/ld.so.conf
34 # build and install ...