I make the GCC backend version at opensuse leap 42.1.

red@linux-rysn:~> ghdl -v
GHDL 0.34dev (20151126) [Dunoon edition]
 Compiled with GNAT Version: 4.8.5
 GCC back-end code generator
Written by Tristan Gingold.

Copyright (C) 2003 - 2015 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License.  There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
red@linux-rysn:~>



For this way I have documented my steps into a makefile.


make start
make next1
...
make next5

last step as superuser root
make install


If sombody need my installation way, the makefile is added.
Good luck for follower.


###########################################################
# makefile for build ghdl
#
# written by René Doss
############################################################


GCC = gcc-4.9.2



GCC_OPTS =  \
        --disable-nls \
        --disable-threads \
        --disable-shared \
        --disable-libssp \
        --enable-languages=c,c++,ada,vhdl\



.PHONY:  start next1 next2 next3 next4 next5 install

start:
        git clone https://github.com/tgingold/ghdl


next1:
        wget ftp://ftp.gwdg.de/pub/misc/gcc/releases/$(GCC)/$(GCC).tar.bz2 
        tar xvfj $(GCC).tar.bz2

next2:
        ./ghdl/configure --with-gcc=./$(GCC)
        
next3:
        make -f Makefile copy-sources

next4:
        ./$(GCC)/configure  --prefix=/usr/local \
        --enable-languages=c,c++,vhdl --disable-bootstrap \
        --with-gmp=/usr/local --disable-lto --disable-multilib
  
next5:
        make -fMakefile all-gcc 2>&1 | tee gcc.log

install:
        make -f Makefile install-gcc 2>&1 | tee install.log





_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to