Check http://mxe.cc/#requirements and install all missing requirements.
安装 msys2-x86_64-20220904.exe ,需要加装 一些包。
比如
Package: mingw-w64-x86_64-python-mako
pacman -S mingw-w64-x86_64-python-mako
Package: mingw-w64-x86_64-gdk-pixbuf2
pacman -S mingw-w64-x86_64-gdk-pixbuf2
Package: p7zip
缺失的包 可以 用 bing 在 https://packages.msys2.org/package/p7zip 网站搜索。
----------------------------
As root (or other user with write access to /usr/local/src):
cd /usr/local/src
git clone https://github.com/mxe/mxe.git
cd mxe
make -j$(nproc) MXE_PLUGIN_DIRS="plugins/tcl.tk" \
MXE_TARGETS="i686-w64-mingw32.static" \
gcc tcl readline
Then as regular user in some directory where you build stuff:
git clone https://github.com/YosysHQ/yosys.git yosys-win32
cd yosys-win32
make config-mxe
make -j$(nproc) mxebin
Open YosysVS.sln with Visual Studio
标签:Building,msys2,x86,Windows,w64,mingw,64,yosys,mxe From: https://www.cnblogs.com/chunk998/p/16736762.html