gpsimWin32

gpsim native WIN32 port

gpsim - The gnupic simulator, a simulator for Microchip PIC microcontrollers.


Introduction

This document describes how to compile and install gpsim on WIN32 platforms.

Gpsim can be compiled in a CLI - command line interface mode (no gui), or in GUI - graphical user interface mode.
 

Which tools are required, where to get them

Native WIN32 gpsim port can be compiled with

or with

Some additional GNU tools are required to build gpsim:

The recommended installation for bison, flex and gawk is from Cygwin environment. The other possibility is to use nativeWIN32 ports of bison, flex and gawk, which are part of UnxUtils project and GnuWin32 project.

Cygwin environment is required (or at least recommended) for WIN32 native compilation of additional packages.
 

How to set up development environment for WIN32 port of gpsim

Cygwin installation:

Select DOS as the Default Text File type. In the Devel Category select bison, flex, gawk, make, gcc, gcc-g++, gcc-mingw-core and  gcc-mingw-g++ packages.
You have to have C:\cygwin\bin specified in the PATH environment variable, but I think that this is done by default from the Cygwin installation.

In Microsoft Visual Studio .NET 2003 select Tools/Options...
In the Options dialog select Projects VC++ Directories and add C:\cygwin\bin path.
 

Which additional packages are required, where to get them, how to to install them

CLI (supported only by VS .NET compilation):

The CLI WIN32 version of gpsim requires 2 additional packages: popt and glib.

GUI:

The GUI WIN32 version of gpsim requires the following additional packages, in addition to popt and glib, mentioned in the CLI section:

The WIN32 ports of following packages are a part of Tor Lillqvist's GTK+ (and GIMP) for Windows project. The latest version of developer, runtime and source packages can be found at Tor Lillqvist--GTK+ (and GIMP) for Windows--Downloads.

Setting up the development environment

CLI (supported only by VS .NET compilation):

GUI:

gpsim_proj
|
+- gpsim
+- readline
+- popt
+- glib
+- gtk+
+- pango
+- atk
+- gtkextra-2
+- fontconfig
+- pthreads (for modules).

Setting up the runtime

CLI:

GUI:

Modules:

gpsimWin32 snapshots

gpsimWin32 snapshots can be found at http://gpsim.sourceforge.net/snap.php.
 

Document status

If you have questions / comments / other experiences about WIN32 gpsim port, post them to the gnupic mailing list: gnupic@linuxhacker.org.
 

Package versions

Packages from GnuWin32 project:

Packages from Tor Lillqvist's GTK+ (and GIMP) for Windows project:

Other packages:


Last update: September 2, 2005 by Borut Ražem

This site is hosted by

SourceForge.net Logo

Valid XHTML 1.0!