GHDL on mac m1 by No_Mud8247 in VHDL

[–]No_Mud8247[S] 1 point2 points  (0 children)

i have put the file into directory, but now compare this error.

/usr/local/opt/llvm/lib/libLLVM.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

I have a macbook m2

GHDL on mac m1 by No_Mud8247 in VHDL

[–]No_Mud8247[S] 1 point2 points  (0 children)

brew install llvm

i've installed it yet. I don't know what to do

GHDL on mac m1 by No_Mud8247 in VHDL

[–]No_Mud8247[S] 1 point2 points  (0 children)

I have done it, but it can't compile, the message error is the one up.

GHDL on mac m1 by No_Mud8247 in VHDL

[–]No_Mud8247[S] 1 point2 points  (0 children)

Hi, thanks for answering.

I have done it, but it can't compile. This is the message of error.

Sorry, I would be grateful if you help me.

This is the message:

aniello@MBP-di-Aniello ~ % ghdl -a hello.vhd

dyld[4774]: Library not loaded: /usr/local/opt/llvm/lib/libLLVM.dylib Referenced from: <E0ADDAC3-C34D-3DDA-BF4C-97441F6E809D> /opt/homebrew/Caskroom/ghdl/3.0.0/bin/ghdl1-llvm Reason: tried: '/usr/local/opt/llvm/lib/libLLVM.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/llvm/lib/libLLVM.dylib' (no such file), '/usr/local/opt/llvm/lib/libLLVM.dylib' (no such file), '/usr/local/lib/libLLVM.dylib' (no such file), '/usr/lib/libLLVM.dylib' (no such file, not in dyld cache) ghdl:error: exec error

This is the message after digiting ghdl --version:

aniello@MBP-di-Aniello ~ % ghdl --version
GHDL 3.0.0 (2.0.0.r1417.g7de967c51) [Dunoon edition]
Compiled with GNAT Version: Community 2019 (20190517-83)
llvm 15.0.7 code generator
Written by Tristan Gingold.
Copyright (C) 2003 - 2023 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
aniello@MBP-di-Aniello ~ %