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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sw/] [gas-script.sh] - Blame information for rev 99

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

Line No. Rev Author Line
1 94 dgisselq
#!/bin/bash
2
 
3
if [[ ! -d binutils-2.25 ]]
4
then
5
  tar -xvjf ./binutils-2.25.tar.bz2
6
  patch -p0 <./binutils-2.25.patch
7
  cd binutils-2.25
8
fi
9
 
10
set +h
11
set -e
12
CLFS_HOST="x86_64-cross-linux-gnu"
13
CLFS_TARGET="zip"
14
INSTALL_BASE=`pwd`/../install
15
mkdir -p ${INSTALL_BASE}/cross-tools
16
mkdir -p ${INSTALL_BASE}/tools/lib
17
mkdir -p build
18
cd build
19
AR=ar AS=as     \
20
../configure --with-gas --prefix=${INSTALL_BASE}/cross-tools    \
21
        --host=${CLFS_HOST}     --target=${CLFS_TARGET}         \
22
        --with-sysroot=${INSTALL_BASE}                          \
23
        --with-lib-path=${INSTALL_BASE}/tools/lib               \
24
        --disable-nls --disable-static --disable-multilib       \
25
        --enable-gold=yes --enable-plugins --enable-threads     \
26
        --disable-werror
27
 

powered by: WebSVN 2.1.0

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