# hdw - linux toolchain glibc package # # author: hackbard@hackdaworld.dyndns.org # # [V] cvs # [S] 0-3 ## [D] glibc-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/ ## [D] glibc-linuxthreads-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/ # [D] glibc.tar.bz2 cvs:anoncvs:sources.redhat.com:cvs/glibc:libc srcdir=libc extraver="-${ver}" [ "$ver" = "cvs" ] && extraver="" confopt=${confopt//--host* /--host=$hdw_arch_build } confopt="$confopt --enable-add-ons=nptl --disable-profile --with-tls" confopt="$confopt --without-cvs --without-gd" confopt="$confopt --with-headers=$prefix/glibc-kernheaders" confopt="$confopt --with-binutils=$prefix/bin" unset CFLAGS build_main() { # create and change to seperated build directory mkdir -p ../glibc-build && cd ../glibc-build # configure and prepare Makefile ../${srcdir}${extraver}/configure $confopt mkdir -p $prefix/etc touch $prefix/etc/ld.so.conf # build and install ... make && make install }