OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sw/] [gas-script.sh] - Rev 98

Go to most recent revision | Compare with Previous | Blame | View Log

#!/bin/bash
 
if [[ ! -d binutils-2.25 ]]
then
  tar -xvjf ./binutils-2.25.tar.bz2
  patch -p0 <./binutils-2.25.patch
  cd binutils-2.25
fi
 
set +h
set -e
CLFS_HOST="x86_64-cross-linux-gnu"
CLFS_TARGET="zip"
INSTALL_BASE=`pwd`/../install
mkdir -p ${INSTALL_BASE}/cross-tools
mkdir -p ${INSTALL_BASE}/tools/lib
mkdir -p build
cd build
AR=ar AS=as	\
../configure --with-gas --prefix=${INSTALL_BASE}/cross-tools	\
	--host=${CLFS_HOST}	--target=${CLFS_TARGET}		\
	--with-sysroot=${INSTALL_BASE}				\
	--with-lib-path=${INSTALL_BASE}/tools/lib		\
	--disable-nls --disable-static --disable-multilib	\
	--enable-gold=yes --enable-plugins --enable-threads	\
	--disable-werror
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.