Hi,

file gcc-4.2.4/INSTALL/prerequisites.html report:
...
In order to build the Ada compiler (GNAT) you must already have GNAT installed 
because portions of the Ada frontend are written in Ada (with GNAT extensions.)
...

I've installed a gcc 3.4.6 without ada support, and have no root access.
Where can i find a prebuild ada compiler?

Have a good day

P.S: Actually i've downloaded 'gnat-gpl-2006-i686-gnu-linux-libc2.3-bin'
Changing path order (-B switch don't work, is there an other way to do it?) i' 
ve tryed to:
- compiling vhdl, got

./configure -prefix=/home/sal/emul/gcc-4.2.4-inst -enable-languages=vhdl 
--with-mpfr-include=/home/sal/emul/mpfr-2.3.2 
--with-mpfr-lib=/home/sal/emul/mpfr-2.3.2/.libs
with-mpfr-lib=/home/sal/emul/mpfr-2.3.2/.libs
creating 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... yes
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... yes
checking for any version of mpfr.h... yes
configure: error:
The following requested languages could not be built: vhdl
Recognised languages are: c,ada,treelang

- compiling c,ada, got

./configure -prefix=/home/sal/emul/gcc-4.2.4-inst -enable-languages=c,ada 
--with-mpfr-include=/home/sal/emul/mpfr-2.3.2 
--with-mpfr-lib=/home/sal/emul/mpfr-2.3.2/.libs
with-mpfr-lib=/home/sal/emul/mpfr-2.3.2/.libs
..
Creating Makefile

make
...
Checking multilib configuration for libada...
Configuring in i686-pc-linux-gnu/libada
configure: loading cache ./config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking target system type... (cached) i686-pc-linux-gnu
checking whether ln -s works... yes
configure: creating ./config.status
config.status: creating Makefile
make[2]: Entering directory
`/misc/vol80/rrhcif/sal/emul/gcc-4.2.4/i686-pc-linux-gnu/libada'
make[2]: *** No rule to make target
`../../host-i686-pc-linux-gnu/gcc/ada/Makefile', needed by `gnatlib-shared'.
Stop.
make[2]: Leaving directory
`/misc/vol80/rrhcif/sal/emul/gcc-4.2.4/i686-pc-linux-gnu/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/misc/vol80/rrhcif/sal/emul/gcc-4.2.4'
make: *** [all] Error 2

--- Lun 19/1/09, Dirk Barthel <[email protected]> ha scritto:

> Da: Dirk Barthel <[email protected]>
> Oggetto: Re: [Ghdl-discuss] Info about ghdl backend
> A: [email protected], "GHDL discuss list" <[email protected]>
> Cc: "Sylvere Teissier" <[email protected]>
> Data: Lunedì 19 gennaio 2009, 16:13
> 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

Reply via email to