Codebase list gtkwave / upstream/3.3.22 INSTALL.TXT
upstream/3.3.22

Tree @upstream/3.3.22 (Download .tar.gz)

INSTALL.TXT @upstream/3.3.22raw · history · blame

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

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