在详细说明了ghdl之后,我得到了以下错误:
e~hello_world.o: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
C:\Users\Public\ghdl\bin\ghdl.exe: compilation error请注意,我正在尝试运行ghdl文档中的简单hello_world程序。我在Windows上运行,使用llvm作为后端,ghdl的版本是:
GHDL 0.37 (v0.37) [Dunoon edition]
Compiled with GNAT Version: 9.1.0
llvm code generator
Written by Tristan Gingold.发布于 2021-03-05 20:15:25
原来问题出在gcc,我卸载并安装了一个新版本
https://stackoverflow.com/questions/66466118
复制相似问题