git » cross-a64.git » main » tree

[main] / binutils.sh

#!/bin/bash
. ./common.inc

mkdir -p binutils-build
cd binutils-build

../binutils/configure \
    --with-bugurl=https://social.treehouse.systems/@urja \
    --enable-default-execstack=no \
    --enable-deterministic-archives \
    --enable-gold \
    --enable-install-libiberty \
    --enable-ld=default \
    --enable-new-dtags \
    --enable-plugins \
    --enable-relro \
    --enable-shared \
    --enable-threads \
    --disable-werror \
    --disable-gdb \
    --disable-gdbserver \
    --disable-libdecnumber \
    --disable-readline \
    --disable-sim \
    --disable-werror \
    --enable-64-bit-bfd \
    --enable-default-hash-style=gnu \
    "${_cross_flags[@]:?_cross_flags unset}"
read dummy
make -j3 2>&1 | tee ../binutils-build.log
echo "Enter to install, Ctrl-C to abort"
read dummy
su -c "make install"
cd ..