[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP & PSPPIRE running as native windows applications.

From: John McCabe-Dansted
Subject: PSPP & PSPPIRE running as native windows applications.
Date: Tue, 6 Feb 2007 23:02:49 +0900

Hello. I've got pspp and psppire to run as native windows
applications. (i.e. no cygwin dll or X required, and the installer
should be under 7MB including libraries).

Better yet, the windows version gets over 75% in the stats tests ---
*only* 32 failures out of 131 tests. What is that, like a A- or
something ;)

I have put up a bunch of scripts I used to cross-compile pspp, and log
files (including make.check.log) up at:
If you are interested you might like to look at what tests failed in:
I know at least four tests fail simply because "make check" attempts
to run cross-compiled binaries on the host machine.

I have made a number of hacks to get psppire to cross-compile. John D.
suggested that I post these here to get input on how to do these hacks
the right way.

I have attached an example patch.  This patch is needed as glade needs
to dynamically load functions stored in psppire.exe, but mingw does
not export functions in .exes by default; in windows we have to prefix
functions, required by glade, with G_MODULE_EXPORT. To ensure these
functions are exported in the cross-compiled psppire.exe I also had to
change the Makefile to include
    dlltool -e psppire.exp src/ui/gui/*.o
and to link psppire.exp into psppire.exe.

John C. McCabe-Dansted
PhD Student
University of Western Australia

Attachment: pspp_src_ui_gui.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]