Updated to git

This commit is contained in:
Markus Koch 2016-05-01 15:57:03 +02:00
parent ece3f52602
commit 77fdf021a5

View File

@ -11,13 +11,13 @@ cd source
echo "Downloading gcc..."
wget -c "ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/$gccver/$gccver.tar.bz2"
#tar xvf $gccver.tar.bz2
tar xvf $gccver.tar.bz2
cd $gccver
./contrib/download_prerequisites
cd ..
echo "Downloading ghdl..."
hg clone http://hg.code.sf.net/p/ghdl-updates/code ghdl
git clone https://github.com/tgingold/ghdl
echo "Configuring ghdl..."
@ -38,6 +38,7 @@ make install
echo "done."
echo "NOW DO THE FOLLOWING:"
echo "cp $rt/install/bin/ghdl /usr/local/bin/ghdl"
echo "mkdir /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/vhdl"
echo "cp -r $rt/install/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/vhdl /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/vhdl"
echo "mkdir -p /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/"
echo "ln -s $rt/install/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/vhdl /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/vhdl" # or cp.