Hallo again,

I have also some news.

I have built ghdl on open suse 13.1. with  gcc-4.8.1.

For a better work I have written a make file. Please, see in the attachment.




Best regards

René Doß


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


GCC = gcc-4.8.1

PREFIX =/opt/ghdl

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:  
        hg clone http://hg.code.sf.net/p/ghdl-updates/code ghdl-updates
        
next1:
        cd ghdl-updates/translate/gcc; ./dist.sh sources
        
next2:
        cd ghdl-updates/translate/gcc; tar xvjf *.tar.bz2
next3:
        wget ftp://ftp.gwdg.de/pub/misc/gcc/releases/$(GCC).tar.gz
        tar xvzf $(GCC).tar.gz
        tar xvzf ./$(GCC)/$(GCC).tar.gz 
        
next4:
        cp -r ghdl-updates/translate/gcc/ghdl*/vhdl $(GCC)/gcc/vhdl
        
next5:
        mkdir gcc-bootstrap
        export PATH=$$PATH:$(PREFIX)/bin; \
                cd gcc-bootstrap; \
        ../$(GCC)/configure  \
        $(GCC_OPTS) --without-headers \
        --prefix=$(PREFIX)  2>&1 |tee gcc-bs_configure.log;\
        make all-gcc 2>&1 | tee gc-bs_make.log

install: 
        cd gcc-bootstrap; \
        make install-gcc 2>&1 | tee gcc-bs_install.log



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

Reply via email to