File: README

package info (click to toggle)
gtkwave 3.3.98-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 10,200 kB
  • sloc: ansic: 136,610; sh: 4,558; cpp: 2,156; java: 634; makefile: 310; lex: 236; xml: 194; perl: 93; objc: 68; csh: 28; tcl: 25
file content (183 lines) | stat: -rw-r--r-- 6,043 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
1) Type ./configure
2) make
3) make install (as root)

Make sure you copy the .gtkwaverc file to your home directory or to your
VCD project directory.  It contains the prefs for a good configuration
that most people find ergonomic.  It is not strictly necessary however.

[Note: for mingw builds with gtk+-1, you might need a fake gtk-config file like 
the following..]

<<snip>>
#!/bin/sh

if [ "$1" == "--libs" ]
	then
	echo -L/home/bybell/libs -lgck -lgdk-1.3 -lgimp-1.2 -lgimpi -lgimpui-1.2 -lglib-1.3 -lgmodule-1.3 -lgnu-intl -lgobject-1.3 -lgthread-1.3 -lgtk-1.3 -liconv-1.3 -ljpeg -llibgplugin_a -llibgplugin_b -lpng -lpthread32 -ltiff-lzw -ltiff-nolzw -ltiff
	fi

if [ "$1" == "--cflags" ]
	then
	echo " -mms-bitfields -I/home/bybell/src/glib -I/home/bybell/src/gtk+/gtk -I/home/bybell/src/gtk+/gdk -I/home/bybell/src/gtk+ " 
	fi
<<snip>>

[Note2: for mingw with gtk+-2, you don't need to do anything except have
pkg-config in your PATH however the following note is from Thomas Uhle.]

Important to know is to compile with CFLAGS=-mms-bitfields in Windows in order to link correctly
to the GTK+ dlls. This is how I did configure GTKWave with additional optimisation switches:

./configure CFLAGS='-Wall -O3 -mcpu=i686 -mms-bitfields -ffast-math -fstrict-aliasing'

After that you may just call make the usual way.



Note that Ver Structural Verilog Compiler AET files are no longer supported. 
They have been superceded by LXT.  Also note that the AMULET group will be
taking over maintenance of the viewer effective immediately.

-251201ajb  bybell@nc.rr.com


AMULET has ceased development of the 2.x branch of the viewer.  1.3
apparently is the only active version currently.

-150405ajb  bybell@nc.rr.com


The 1.3 series has been promoted to 3.x in order to prevent confusion over
what version of the viewer is the latest.  Starting with 3.x, the viewer
supports source code annotation.

-030406ajb  bybell@nc.rr.com


Add these flags to your compile for new warnings on AMD64:
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic

on i386:
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables

-150407ajb


For cvs access to the experimental, pre-release sourcetree on Sourceforge:
cvs -d:pserver:anonymous@gtkwave.cvs.sourceforge.net:/cvsroot/gtkwave login
[press enter]
cvs -z3 -d:pserver:anonymous@gtkwave.cvs.sourceforge.net:/cvsroot/gtkwave co -P gtkwave3

-191208ajb  bybell@nc.rr.com


CVS is no longer being updated, for SVN access:
svn co https://gtkwave.svn.sourceforge.net/svnroot/gtkwave gtkwave

-310511ajb

===============================================================================

Note (1) For Ubuntu users:

I had to do the following to get it to install directly. Please
include in INSTALL .txt as an option for ubuntu users. Other linux
distributions might have other things to do.

sudo apt-get install libgtk2.0-dev
./configure --with-tcl=/usr/lib/tcl8.4 --with-tk=/usr/lib/tk8.4

-030109ajb  bybell@nc.rr.com


Note (2) For Ubuntu users:

If your compile fails because gzopen64 cannot be found, you will either have
to fix your Ubuntu install or use the version of libz in gtkwave:

./configure --enable-local-libz

-140409ajb  bybell@nc.rr.com

Note (3) For Ubuntu users (version 11.10):

sudo apt-get install libjudy-dev
sudo apt-get install libbz2-dev
sudo apt-get install liblzma-dev
sudo apt-get install libgconf2-dev
sudo apt-get install libgtk2.0-dev
sudo apt-get install tcl-dev
sudo apt-get install tk-dev
sudo apt-get install gperf
sudo apt-get install gtk2-engines-pixbuf

Configure then as:

./configure --enable-judy --enable-struct-pack --with-gconf

-010212ajb  bybell@nc.rr.com

===============================================================================

Notes for Mac OSX users:

Install MacPorts then

sudo port -v selfupdate
sudo port install Judy tcl tk xz-devel gtk2

If Quartz is used:
sudo port install gtk-osx-application

./configure --prefix=/opt/local --enable-judy --enable-struct-pack "CFLAGS=-I/opt/local/include -O2 -g" LDFLAGS=-L/opt/local/lib --no-create --no-recursion

Tcl works in the OSX version of gtkwave starting with version 3.3.26.  

At this point all features working on Linux should be functional on the Mac,
except that twinwave does not render to a single window when Quartz is used
instead of X11.

If you wish to use llvm, also add "CC=llvm-gcc" and change the "-O2" in CFLAGS
to "-O4".

At the current time Quartz support is experimental.  Please report any bugs
encountered as compared to X11 function.

===

Note that the preferred environment for Quartz builds is jhbuild.  To build
gtkwave as an app bundle (while in jhbuild shell):

./configure --enable-judy --enable-struct-pack --prefix=/Users/$USER/gtk/inst
make
make install
cd contrib/bundle_for_osx
./make_bundle.sh

This assumes that Judy arrays and XZ were both already compiled and installed.
If Judy arrays are not installed, do not add --enable-judy.
If XZ is not installed, add --disable-xz.

The current environment used is modulesets.  Bug 664894 has an interim fix in
the binary distribution by applying patches using the
contrib/bundle_for_osx/gtk_diff_against_modulesets.patch file.

-311211ajb  bybell@nc.rr.com

===============================================================================

MSYS2 notes for creating a working environment for compiling gtkwave:

pacman -Syuu 
[repeat "pacman -Syuu" multiple times until environment stabilizes]
pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain git subversion mercurial mingw-w64-i686-cmake mingw-w64-x86_64-cmake 
pacman -S base-devel mingw-w64-toolchain mingw-w64-i686-gtk2 
pacman -S mingw-w64-i686-gtk2 
pacman -S mingw-w64-x86_64-gtk2 
pacman -S mingw-w64-i686-gtk3 
pacman -S mingw-w64-x86_64-gtk3 

-121217ajb  bybell@rocketmail.com

===============================================================================