Am 25.12.2013 00:45, schrieb David Koontz:
> On 25 Dec 2013, at 2:09 am, René Doß <[email protected]> wrote:
>
>> wget is also available for MAC OS.
>> I think it is simplier to install wget as to find out what is wrong in the 
>> deep of gcc. This makefile can be a validation standard for compiling on 
>> different systems. The make file save time.
>>
>> The distribution of ghdl has with executeable files in form of typical 
>> packages rpm or dep and so on.
>
> You can likewise modify the download_prerequisites script by replacing 'wget' 
> with 'curl -O'. This method hasn't been tested in the script, but works on a 
> command line.
>
>
makefile changed
- wget removed 
-  curl  added



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


GCC = gcc-4.8.2

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:
        curl ftp://ftp.gwdg.de/pub/misc/gcc/releases/$(GCC).tar.gz -o 
$(GCC).tar.bz2 -o $(GCC).tar.bz2
        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
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to