wiki:CompileGRUB-2.00

GRUB-2.00

  • Can be Compiled or Not? No
  • Package Download Link: http://ftp.gnu.org/gnu/grub/grub-2.00.tar.gz
  • Compile Script:
    #!/bin/bash
    
    export PACKAGE_NAME=grub-2.00
    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};
    
    export NETTLE_CFLAGS=${NACLPORTS_PREFIX}/include
    export GMP_CFLAGS=${NACLPORTS_PREFIX}/include
    
    conf_host=${NACL_CROSS_PREFIX}
    
    Banner "Configure grub-2.00"
    ChangeDir "../grub-2.00"
    ./configure\
         --prefix=${NACLPORTS_PREFIX} --enable-shared --host=x86_64-linux
    make clean
    make
    
  • Remaining Problem:
    checking whether `/home/larrycane/Code/LIND/REPY_PATH/sdk/toolchain/linux_x86_glibc/bin/x86_64-nacl-gcc' generates calls to `__enable_execute_stack()'... configure: error: /home/larrycane/Code/LIND/REPY_PATH/sdk/toolchain/linux_x86_glibc/bin/x86_64-nacl-gcc failed to produce assembly code
    
    
Last modified 4 years ago Last modified on Sep 24, 2013 10:40:29 PM