GHDL Installation on Mac OS

2k Views Asked by At

I'm trying to install the latest release of GHDL on MacOS (v0.35).

I previously had installed 0.29 that is the one that HomeBrew installs but that version is giving me some problems so I need to upgrade.

I downloaded the tar file from the releases webpage and saw that it contained 3 folders: lib, include and bin.

I just copied the content of those folders to /usr/local/{folder} (folder being bin, include or lib) but I guess I'm missing something because I get an error saying that GHDL can't find std library.

ghdl:warning: library std does not exists for v93
ghdl:warning: library ieee does not exists for v93
ghdl:error: cannot find "std" library

I am guessing that it is a path related issue because if I run GHDL from the download folder:

path/to/download/folder/bin/ghdl -a my_file.vhd

it works.

What am I doing wrong?

0

There are 0 best solutions below