i just wrote a simple VHDL program. I saved the file as a .vhd file. Then I compiled it with
ghdl -a test.vhd
and then built and executable fi
I use UMHDL on my MacOS High Sierra and it works like a charm.
Was tricky to bind GHDL and GTKWave to UMHDL although but i got it.