This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problems compiling gcc 3.2.1 with gnat for VHDL
- From: Mauricio Alvarez Mesa <alvarez at ac dot upc dot es>
- To: gcc help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 30 Jan 2003 19:58:37 +0100
- Subject: problems compiling gcc 3.2.1 with gnat for VHDL
- Organization: UPC-AC
Best regards
I am trying to compile gcc 3.2.1 on a workstation with Red Hat Linux
7.3 and Pentium Xeon Processors.
I added a fron end for VHDL from Tristan Gingold (http://ghdl.free.fr/)
that is written in Ada. For that I installed the gnat gnat-3.15p ADa
compiler binary version for Linux.
Next I configured my gcc installation:
configure --prefix=/users/scratch/alvarez/gcc-3.2.1
--enable-languages=vhdl,c,c++,java
It seems OK
and I run
make -j 4 bootstrap
And then I have an error with gnatmake related with no-log-long option
that is passed by the gcc install program:
gnatmake -o ../ghdl1 -aI. ortho_gcc-main \
-cargs -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -Wall -gnata
-largs agcc-bindings.o ../../gcc/toplev.o ../../gcc/c-convert.o
../../gcc/libbackend.a ../../libiberty/libiberty.a
gcc -c -I. -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -Wall -gnata
ortho_gcc-main.adb
gnat1: Invalid option `-Wno-long-long'
gnatmake: "ortho_gcc-main.adb" compilation error
make[3]: *** [../ghdl1] Error 4
make[3]: Leaving directory
`/users/scratch/alvarez/gcc-3.2.1-src/gcc/vhdl'
make[2]: *** [ghdl1] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/users/scratch/alvarez/gcc-3.2.1-src/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/users/scratch/alvarez/gcc-3.2.1-src/gcc'
make: *** [bootstrap] Error 2
I was revising the mailing list archive and found some mails related
with long-long support that but I cant find how can I fix that error
Is there a patch or a file list to modify?
Thanks in advance
mauricio alvarez