日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人文社科 > 生活经验 >内容正文

生活经验

cygwin编译verilator_Windows 安装 verilator

發布時間:2023/11/27 生活经验 23 豆豆
生活随笔 收集整理的這篇文章主要介紹了 cygwin编译verilator_Windows 安装 verilator 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

windows bubun(cygwin)

下載verilator

tar xvzf verilator*.t*gz

cd verilator*

./configure

報錯

./configure /cygdrive/e/download/verilator-4.016

configuring for Verilator 4.016 2019-06-16

checking whether to use hardcoded paths... yes

checking whether to show and stop on compilation warnings... no

checking whether to run long tests... no

checking whether allow pre-C++11... no

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.exe

checking for suffix of executables... .exe

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for a BSD-compatible install... /usr/bin/install -c

compiler is g++ --version = g++ (GCC) 7.4.0

checking that C++ compiler can compile simple program... no

configure: error: a working C++ compiler is required

需要先安裝g++ pact update gcc-core gcc-g++

pact install flex bison

重新./configure 沒有報錯 繼續 make make install 安裝成功

注: babun 通過 pact update python/perl 后有時候會導致python perl不可用, 先要關閉babun 找到目錄C:\Users\youname.babun 雙擊執行update.bat, 如果執行速度較慢 可以將set MIRROR=http://mirrors.kernel.org/sourceware/cygwin修改為國內鏡像 set MIRROR=http://mirrors.kernel.org/sourceware/cygwin set MIRROR=https://mirrors.tuna.tsinghua.edu.cn/cygwin/

總結

以上是生活随笔為你收集整理的cygwin编译verilator_Windows 安装 verilator的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。