[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:
http://www.csse.uwa.edu.au/~john/psppfiles.tar.bz2
If you are interested you might like to look at what tests failed in:
http://www.csse.uwa.edu.au/~john/pspp/make.check.log
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
pspp_src_ui_gui.patch
Description: Text Data
- PSPP & PSPPIRE running as native windows applications.,
John McCabe-Dansted <=
- Re: PSPP & PSPPIRE running as native windows applications., John Darrington, 2007/02/06
- Re: PSPP & PSPPIRE running as native windows applications., John McCabe-Dansted, 2007/02/07
- Re: PSPP & PSPPIRE running as native windows applications., John Darrington, 2007/02/07
- Re: PSPP & PSPPIRE running as native windows applications., Ben Pfaff, 2007/02/08
- Re: PSPP & PSPPIRE running as native windows applications., John Darrington, 2007/02/08
- Re: PSPP & PSPPIRE running as native windows applications., Ben Pfaff, 2007/02/08
- Re: PSPP & PSPPIRE running as native windows applications., Ben Pfaff, 2007/02/08
- Re: PSPP & PSPPIRE running as native windows applications., John McCabe-Dansted, 2007/02/09
- Re: PSPP & PSPPIRE running as native windows applications., John McCabe-Dansted, 2007/02/12
- Re: PSPP & PSPPIRE running as native windows applications., Ben Pfaff, 2007/02/13