mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 13:40:53 +00:00
docs: Update ubuntu apt-get
Also mention CXXSTD fix for cygwin.
This commit is contained in:
parent
2f78d9330a
commit
01b14061ed
1 changed files with 9 additions and 8 deletions
|
@ -88,18 +88,18 @@ Build prerequisites
|
||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
A C++ compiler with C++17 support is required as well as some standard tools
|
A C++ compiler with C++17 support is required as well as some standard tools
|
||||||
such as GNU Flex, GNU Bison, Make and Python. Some additional tools: readline,
|
such as GNU Flex, GNU Bison (>=3.8), Make, and Python (>=3.11). Some additional
|
||||||
libffi, Tcl and zlib; are optional but enabled by default (see
|
tools: readline, libffi, Tcl and zlib; are optional but enabled by default (see
|
||||||
:makevar:`ENABLE_*` settings in Makefile). Graphviz and Xdot are used by the
|
:makevar:`ENABLE_*` settings in Makefile). Graphviz and Xdot are used by the
|
||||||
`show` command to display schematics.
|
`show` command to display schematics.
|
||||||
|
|
||||||
Installing all prerequisites for Ubuntu 20.04:
|
Installing all prerequisites for Ubuntu 22.04:
|
||||||
|
|
||||||
.. code:: console
|
.. code:: console
|
||||||
|
|
||||||
sudo apt-get install gperf build-essential bison flex \
|
sudo apt-get install gperf build-essential clang lld bison flex libfl-dev \
|
||||||
libreadline-dev gawk tcl-dev libffi-dev git graphviz \
|
libreadline-dev gawk tcl-dev libffi-dev git \
|
||||||
xdot pkg-config python3 libboost-system-dev \
|
graphviz xdot pkg-config python3 libboost-system-dev \
|
||||||
libboost-python-dev libboost-filesystem-dev zlib1g-dev
|
libboost-python-dev libboost-filesystem-dev zlib1g-dev
|
||||||
|
|
||||||
Installing all prerequisites for macOS 13 (with Homebrew):
|
Installing all prerequisites for macOS 13 (with Homebrew):
|
||||||
|
@ -137,8 +137,9 @@ For Cygwin use the following command to install all prerequisites, or select the
|
||||||
minimum required version of Python is 3.11. This means that Cygwin is not
|
minimum required version of Python is 3.11. This means that Cygwin is not
|
||||||
compatible with many of the Python-based frontends. While this does not
|
compatible with many of the Python-based frontends. While this does not
|
||||||
currently prevent Yosys itself from working, no guarantees are made for
|
currently prevent Yosys itself from working, no guarantees are made for
|
||||||
continued support. It is instead recommended to use Windows Subsystem for
|
continued support. You may also need to specify `CXXSTD=gnu++17` to resolve
|
||||||
Linux (WSL) and follow the instructions for Ubuntu.
|
missing `strdup` function when using gcc. It is instead recommended to use
|
||||||
|
Windows Subsystem for Linux (WSL) and follow the instructions for Ubuntu.
|
||||||
|
|
||||||
..
|
..
|
||||||
For MSYS2 (MINGW64):
|
For MSYS2 (MINGW64):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue