wiki:CompileGMP-5.1.2

GMP-5.1.2

  • Can be Compiled or Not? Yes
  • Package Download Link: ftp://ftp.gmplib.org/pub/gmp-5.1.2/gmp-5.1.2.tar.xz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=wget
    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}
    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 gmp"
    ChangeDir "../gmp-5.1.2"
    
    ./configure\
         --prefix=${NACLPORTS_PREFIX} --enable-shared --host=x86_64-linux limb_64=longlong
    make clean
    make
    
    
  • Remaining Problem:
Last modified 4 years ago Last modified on Oct 1, 2013 11:45:49 AM