41 build bash

V0.0.1

41.1 Histroy

  • 2014-12-02, rayoslee, release V0.0.1

41.2 FAQ

  1. How to build bash for ubuntu ?

    ./configure
    make
  2. How to build bash for S605 ?

    export TOOLCHAIN_PATH=/usr/local/arm_linux_4.2
    export CC_TOOL=$TOOLCHAIN_PATH/bin/arm-linux-gcc
    make distclean
    CC="$CC_TOOL" ./configure -C --host=arm-linux --enable-static-link --without-bash-malloc
    vi config.cache and change bash_cv_getenv_redef=${bash_cv_getenv_redef=no}
    CC="$CC_TOOL" ./configure -C --host=arm-linux --enable-static-link --without-bash-malloc
    vi Makefile and add CFLAGS = -g -O2 -static
    make