I working on GHDL, an open source VHDL simulator project,it consists of ghdl-0.29 and gcc 4.3.4. For my project purpose followed below steps to install on fedora 16.
yumdownloader --source ghdl
rpm -i ghdl-0.29-2.143svn.4.fc16.src.rpm
rpmbuild -ba ~/rpmbuild/SPECS/ghdl.spec
it compile sucessfully on gcc 4.6.3(fedora 16 default gcc version).
In ghdl-0.29 directory consists of ada files, I edited because of to solve bug in GHDL project,.next follwed procedure
on gcc-4.3.4 ./configure
make and make install.
once i done got error
"Ada compiler not installed on this system"
default version of gcc 4.6.3 changed to 4.3.4(Default version of gcc craches)
"No executables for gcc compiler, see for more details config.log"
Next deleted gcc 4.3.4 and reinstalled once again followed above steps But now getting different error
"gcc: error trying to exec 'cc1': execvp: No such file or directory"(gcc version not changed as default 4.6.3)
" Ada compiler not installed on this system."
from google found many soluation like yum instll gcc-c++,gcc-g++, export PATH "not worked" for me
Thanks in advance