This repository contains a make file for easy compile and install of GTKWave. GTKWave is a waveform viewer for LXT, LXT2, VZT, FST, GHW, VCD and EVCD files that are typically generated by digital simulation tools such as: Icarus Verilog, ModelSim, Xilinx ISim, Xilinx XSim
This make file can build the GTKWave tool on the following systems:
git clone https://github.com/embed-dsp/ed_gtkwave.git
# Enter the ed_gtkwave directory.
cd ed_gtkwave
# Edit the Makefile for selecting the GTKWave source version.
vim Makefile
PACKAGE_VERSION = 3.3.119
# Download GTKWave source package into src/ directory.
make download
# Unpack source code into build/ directory.
make prepare
# Configure source code.
make configure
# Clean any old build artifacts before compiling.
make clean
# Compile source code using 8 simultaneous jobs (Default).
make compile
# Install build products.
sudo make install
The GTKWave package installs correctly according to the GNU Coding Standards. The build products are installed in the following locations:
opt/
└── gtkwave/
└── gtkwave-3.3.119/ # prefix:
├── linux_x86_64/ # exec_prefix: 64-bit binaries and libraries for Linux
│ └── bin/ # bindir:
│ ├── gtkwave
│ ...
└── share/ # datadir: Architecture independent data files.
...
# Install build products.
make install
/c/opt/
└── gtkwave/
└── gtkwave-3.3.119/ # prefix:
├── mingw64_x86_64/ # exec_prefix: 64-bit binaries and libraries for MSYS2/mingw64 on a 64-bit Windows
│ └── bin/ # bindir:
│ ├── gtkwave
│ ...
├── mingw32_x86_64/ # exec_prefix: 32-bit binaries and libraries for MSYS2/mingw32 on a 64-bit Windows
│ └── bin/ # bindir:
│ ├── gtkwave
│ ...
└── share/ # datadir: Architecture independent data files.
...
System | OS |
---|---|
linux | Fedora-40 64-bit |
mingw64 | Windows-10 64-bit |
mingw32 | Windows-10 64-bit |
sudo dnf install gcc-c++
sudo dnf install zlib
sudo dnf install zlib-devel
sudo dnf install bzip2
sudo dnf install bzip2-devel
sudo dnf install xz
sudo dnf install xz-devel
sudo dnf install tcl
sudo dnf install tcl-devel
sudo dnf install tk
sudo dnf install tk-devel
sudo dnf install gtk2
sudo dnf install gtk2-devel
FIXME: gperf, flex, bison
FIXME: tcl, tk
FIXME: xlib, bzlib, xz