pspp-dev
[Top][All Lists]
Advanced

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

Re: PSPP & PSPPIRE running as native windows applications.


From: Ben Pfaff
Subject: Re: PSPP & PSPPIRE running as native windows applications.
Date: Tue, 06 Feb 2007 20:07:07 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

"John McCabe-Dansted" <address@hidden> writes:

> 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).

Wow!  Thanks for doing this work.  We get requests from time to
time for Windows binaries, and we've not yet been able to help
out very much with that.

> 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 ;)

It's a start, but if you're willing to keep helping out I'm sure
we can do better.

I checked in a few fixes that seemed obvious to me.  They should
help a little, I guess.

> I know at least four tests fail simply because "make check" attempts
> to run cross-compiled binaries on the host machine.

I think you're talking about tests/libpspp/ll-test.exe and
the other tests/libpspp tests.  Is there a way to make these run?
Obviously there is some way to run "cross-compiled" binaries,
because the tests are able to run pspp.exe.

I notice there is a large number of segmentation faults in the
test runs.  Are you willing to try getting a backtrace for a few
of these with a debugger?  Probably, there are only a few causes,
so that fixing one of them will fix many.  I don't know what
you'd need to do under mingw, but under GNU/Linux I generally do
something like
        make check TESTS=tests/formats/time-in.sh SUPERVISOR='gdb --args'
to make a test run under the supervision of GDB.  You should see
a GDB prompt, at which you can type 'r' to run the program.  When
it stops, type 'bt' to get a backtrace, and mail the backtrace to
pspp-dev.
-- 
Ben Pfaff 
address@hidden
http://benpfaff.org




reply via email to

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