I am in the process of trying to write a ebuild for ghdl 0.31 but am running into problems because GCC >= 4.8 requires a C++ bootstrap compiler, GHDL requires an ada bootstrap compiler, gcc doesn't support ada and gnatgcc doesn't support C++. As I am running into a lot of problems, I'll use this bug report to track my progress along with relevant blockers. Reproducible: Always
Created attachment 401772 [details] ebuild in its current (incomplete) shape
Created attachment 456364 [details] ghdl-0.33.ebuild
I've created a ebuild for gdhl-0.33 starting from gdhl-0.29 and PKGBUILD of arch (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ghdl). I am not sure that all is ok, particularly in src_copy_vhdl_sources function (I run a configure and a make in src_prepare), but seems to work.
Created attachment 457258 [details] ghdl-0.33.ebuild Not sure if correct way but I've added subslot with gcc-version (SLOT="0/${GCC_VERSION}")
Created attachment 457260 [details] ghdl-0.33-r1.ebuild Version with gcc-4.94
removed