Hi,
I have been having trouble building from source. Perhaps there is an
obvious mistake that you can help me with?
0.28
----
gcc -c -I./ -I/tmp/GHDL/gcc-4.3.4/gcc/vhdl/grt \
-gnatec/tmp/GHDL/gcc-4.3.4/gcc/vhdl/grt/grt.adc -O -g \
-I- /tmp/GHDL/gcc-4.3.4/gcc/vhdl/grt/ghdl_main.adb
/tmp/GHDL/gcc-4.3.4/gcc/vhdl/grt/grt.adc:35:39: "Ada" is undefined
/tmp/GHDL/gcc-4.3.4/gcc/vhdl/grt/grt.adc:36:39: "GNAT" is undefined
gnatmake: "/tmp/GHDL/gcc-4.3.4/gcc/vhdl/grt/ghdl_main.adb" compilation
error
I tried version 0.27 to see if the same problem occurred, but the build
proceeded further and encountered a different error:
0.27
----
/tmp/GHDL/objdir/./prev-gcc/xgcc -B/tmp/GHDL/objdir/./prev-gcc/ \
-B/user/pdw/x86_64-unknown-linux-gnu/bin/ -c -O -g \
-gnatec/tmp/GHDL/gcc-4.2.4/gcc/vhdl/grt/grt.adc -o run-bind.o
run-bind.adb
xgcc: run-bind.adb: Ada compiler not installed on this system
This is strange, because the test specified in the README of compiling
example.adb works, and if I attempt this command with the standard gcc,
instead of xgcc in the build directory, it works.
For both cases I have used the following script for the build:
#GCC_VERSION=4.2.4
#GHDL_VERSION=0.27
GCC_VERSION=4.3.4
GHDL_VERSION=0.28
export LD_LIBRARY_PATH=/user/pdw/lib
export PWDCMD=pawd
cd /tmp
mkdir GHDL
cd GHDL
cp ~/DOWNLOADS/mpfr-2.4.1.tar.bz2 .
bunzip2 mpfr-2.4.1.tar.bz2
tar xf mpfr-2.4.1.tar
pushd mpfr-2.4.1
./configure --prefix=/user/pdw
make clean
make
make install
popd
cp ~/DOWNLOADS/gcc-$GCC_VERSION.tar.gz .
tar xzf gcc-$GCC_VERSION.tar.gz
cp ~/DOWNLOADS/ghdl-$GHDL_VERSION.tar .
tar xvf ghdl-$GHDL_VERSION.tar
cp -Rp ghdl-$GHDL_VERSION/vhdl gcc-$GCC_VERSION/gcc
mkdir objdir
cd objdir
/tmp/GHDL/gcc-$GCC_VERSION/configure --prefix=/user/pdw
--enable-languages=vhdl --with-mpfr=/user/pdw
make clean
make
make install
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Tristan Gingold
Sent: 23 September 2009 01:44
To: [email protected]
Subject: [Ghdl-discuss] GHDL 0.28 is released
Hi,
I have just released GHDL 0.28.
Tristan.
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss
-
This message is subject to Imagination Technologies' e-mail terms:
http://www.imgtec.com/e-mail.htm
Imagination Technologies Ltd is a limited company registered in England No:
1306335
Registered Office: Imagination House, Home Park Estate, Kings Langley,
Hertfordshire, WD4 8LZ.
Email to and from the company may be monitored for compliance and other
administrative purposes.
-
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss