You need to build the compiler with Ada support first and then with GHDL. There are a couple sites with instructions. Here is one: http://home.comcast.net/~bp_labs/software/ghdl/index.htm There is a csh script that should do it all for you.
Dirk On Mon, Jan 19, 2009 at 4:12 AM, Salvatore Lionetti < [email protected]> wrote: > Hi to all > Hi Sylvere and thanks for your feedback. > > I'm trying to compile following environment: > ghdl 0.27, gcc 4.2.4 > using > gcc 3.4.6 (installed by default) > gnat 2006 precompiled gnat-2006-i686-gnu-linux-libc2.3-bin (precompiled > under my home directory since i can't install, no root access) > > I'm following 'ghdl-0.27/README' but fail (see after). > Seeing configure script i understand that default compiler used to build > gcc4.2.4 must be the same front-end to compile adb files. > > Am i wrong somewhere, somewhat? > Is there a way to circumnavigate the problem? > > Have a good day > > > ./configure --enable-languages=vhdl > loading cache ./config.cache > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking build system type... i686-pc-linux-gnu > checking for a BSD compatible install... /usr/bin/install -c > checking whether ln works... yes > checking whether ln -s works... yes > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for gnatbind... gnatbind > checking whether compiler driver understands Ada... no > checking how to compare bootstrapped objects... cmp --ignore-initial=16 > $$f1 $$f2 > checking for correct version of gmp.h... yes > checking for correct version of mpfr.h... buggy version of MPFR detected > checking for any version of mpfr.h... yes > configure: error: > The following requested languages could not be built: vhdl > Recognised languages are: c,treelang > > > > > > --- Ven 16/1/09, Sylvere Teissier <[email protected]> ha scritto: > > > Da: Sylvere Teissier <[email protected]> > > Oggetto: Re: [Ghdl-discuss] Info about ghdl backend > > A: [email protected], "GHDL discuss list" <[email protected] > > > > Data: Venerdì 16 gennaio 2009, 14:42 > > Le vendredi 16 janvier 2009 à 13:31 +0000, Salvatore > > Lionetti a écrit : > > > Hi, > > > > > > ghdl generates any intermediate program > > representation, like gimple or tree-ssa structure? > > > Have a good day > > > > > Yes, like any classical gcc front-end. > > > > Use -Wc,option_name to pass classical gcc options. > > For example: > > ghdl -a -Wc,-fdump-tree-gimple vhdl_source_name.vhd > > > > > _______________________________________________ > Ghdl-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/ghdl-discuss >
_______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
