wiki:Compilecoreutils-8.19

coreutils-8.19

  • Package Name: coreutils-8.19
  • Can be Compiled or Not? Yes
  • Package Download Link: http://ftp.gnu.org/gnu/coreutils/coreutils-8.19.tar.xz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=coreutils
    export NACL_ARCH=x86_64
    export NACL_GLIBC=1
    export NACLPORTS_PREFIX=${REPY_PATH}/usr
    
    source ../naclports/src/build_tools/common.sh
    
    export NACL_SEL_LDR
    export NACL_IRT
    export NACL_SDK_LIB
    export CC="${NACLCC} -D__linux__"
    export CXX=${NACLCXX}
    export AR=${NACLAR}
    export RANLIB=${NACLRANLIB}
    export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig
    export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR}
    export FREETYPE_CONFIG=${NACLPORTS_PREFIX_BIN}/freetype-config
    export PATH=${NACL_BIN_PATH}:${PATH};
    conf_host=${NACL_CROSS_PREFIX}
    
    Banner "Configure coreutils"
    ChangeDir "../coreutils-8.19"
    
    ./configure \
            --prefix=${NACLPORTS_PREFIX} --host=i686-linux ac_cv_func_sigaction=yes --build=x86_64-linux --enable-install-program=hostname                         
    make clean
    make V=1
    
    
  • Remaining Problem:
Last modified 4 years ago Last modified on Nov 8, 2013 2:26:46 PM