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

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [sw/] [gcc-script.sh] - Diff between revs 104 and 111

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 104 Rev 111
Line 13... Line 13...
set +h
set +h
set -e
set -e
CLFS_HOST="x86_64-cross-linux-gnu"
CLFS_HOST="x86_64-cross-linux-gnu"
CLFS_TARGET="zip"
CLFS_TARGET="zip"
INSTALL_BASE=`pwd`/install
INSTALL_BASE=`pwd`/install
mkdir -p ${INSTALL_BASE}/cross-tools
mkdir -p ${INSTALL_BASE}/cross-tools/bin
mkdir -p ${INSTALL_BASE}/tools/lib
mkdir -p ${INSTALL_BASE}/tools/lib
mkdir -p ${INSTALL_BASE}/usr/include
mkdir -p ${INSTALL_BASE}/usr/include
mkdir -p build-gcc
mkdir -p build-gcc
cd build-gcc
cd build-gcc
 
 
AR_FOR_TARGET=${INSTALL_BASE}/cross-tools/zip-ar
AR_FOR_TARGET=${INSTALL_BASE}/cross-tools/bin/zip-ar
AS_FOR_TARGET=${INSTALL_BASE}/cross-tools/zip-as
AS_FOR_TARGET=${INSTALL_BASE}/cross-tools/bin/zip-as
LD_FOR_TARGET=${INSTALL_BASE}/cross-tools/zip-ld
LD_FOR_TARGET=${INSTALL_BASE}/cross-tools/bin/zip-ld
NM_FOR_TARGET=${INSTALL_BASE}/cross-tools/zip-nm
NM_FOR_TARGET=${INSTALL_BASE}/cross-tools/bin/zip-nm
OBJCOPY_FOR_TARGET=${INSTALL_BASE}/cross-tools/zip-objcopy
OBJCOPY_FOR_TARGET=${INSTALL_BASE}/cross-tools/bin/zip-objcopy
OBJDUMP_FOR_TARGET=${INSTALL_BASE}/cross-tools/zip-objdump
OBJDUMP_FOR_TARGET=${INSTALL_BASE}/cross-tools/bin/zip-objdump
READELF_FOR_TARGET=${INSTALL_BASE}/cross-tools/zip-readelf
READELF_FOR_TARGET=${INSTALL_BASE}/cross-tools/bin/zip-readelf
STRIP_FOR_TARGET=${INSTALL_BASE}/cross-tools/zip-strip
STRIP_FOR_TARGET=${INSTALL_BASE}/cross-tools/bin/zip-strip
 
 
AS=as AR=ar ../gcc-5.3.0-zip/configure --with-gas      \
AS=as AR=ar ../gcc-5.3.0-zip/configure --with-gas      \
        --prefix=${INSTALL_BASE}/cross-tools           \
        --prefix=${INSTALL_BASE}/cross-tools           \
        --target=${CLFS_TARGET} --host=${CLFS_HOST}    \
        --target=${CLFS_TARGET} --host=${CLFS_HOST}    \
        --with-sysroot=${INSTALL_BASE}                 \
        --with-sysroot=${INSTALL_BASE}                 \

powered by: WebSVN 2.1.0

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