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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [utils/] [setup/] [minsoc-install.sh] - Diff between revs 81 and 82

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

Rev 81 Rev 82
Line 164... Line 164...
 
 
 
 
#Compiling and Installing all packages
#Compiling and Installing all packages
cecho "\nCompiling and installing packages"
cecho "\nCompiling and installing packages"
# Installing the GNU Toolchain
# Installing the GNU Toolchain
execcmd "Installing GNU Toolchain" "cp -Rp or32-elf $DIR_TO_INSTALL/tools"
if [ "$ENV" == "Cygwin" ]
 
then
 
    execcmd "Installing GNU Toolchain" "tar xf or32-elf-cygwin-1.7.tar.bz2 -C $DIR_TO_INSTALL/tools";
 
else
 
    if [ $KERNEL_ARCH == "32" ];
 
    then
 
        execcmd "Installing GNU Toolchain" "tar xf or32-elf-linux-x86.tar.bz2 -C $DIR_TO_INSTALL/tools";
 
    elif [ $KERNEL_ARCH == "64" ];
 
    then
 
        execcmd "Installing GNU Toolchain" "tar xf or32-elf-linux-x86_64.tar.bz2 -C $DIR_TO_INSTALL/tools";
 
    fi
 
fi
PATH=$PATH:$DIR_TO_INSTALL/tools/or32-elf/bin
PATH=$PATH:$DIR_TO_INSTALL/tools/or32-elf/bin
 
 
 
 
#Installing GDB
#Installing GDB
execcmd "cd gdb-6.8"
execcmd "cd gdb-6.8"

powered by: WebSVN 2.1.0

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