See c556a6ea46.
c556a6ea46
This allows having a recent ghdl, without building it with gcc. The major drawback is the speed.