- gcc (or other compiler support
C++20
) - ncurses6 (for raw terminal support)
- llvm (optional except
macOS
) - gmake (required if
FreeBSD
)
-
Arch Linux
-
required
$ pacman -S base-devel ncurses
-
optional
$ pacman -S clang lld libc++ libunwind
-
-
Debian
-
required
$ apt install build-essential libncurses-dev
-
optional
$ apt install clang lld libc++-dev libunwind-dev
-
-
FreeBSD
$ pkg install gmake ncurses
-
macOS
$ brew install llvm ncurses
and then write following into your
.bashrc
/.zshrc
:$ export PATH="/usr/local/opt/ncurses/bin:$PATH"
-
Windows
no yet supported
-
FreeBSD
$ gmake
-
Others
$ make
if you want to build with
Clang
:$ CXX=clang++ make
-
FreeBSD
$ gmake clean
-
Others
$ make clean
$ ./impl1.exe
$ ./impl2.exe