[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: Re: AW: Questions on PSPP: thank you
From: |
John Darrington |
Subject: |
Re: PSPP-BUG: Re: AW: Questions on PSPP: thank you |
Date: |
Mon, 2 Feb 2009 07:35:14 +0900 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sun, Feb 01, 2009 at 01:52:17PM -0800, Ben Pfaff wrote:
Michel Boaventura <address@hidden> writes:
> Sorry about the wait, but I'm trying to compile pspp on linux now,
> using gentoo and the mingw crosscompile utils.
> The windows version of Mingw is very hard to use and have many bugs,
> like the problems with latin chars and the relocatable issue.
>
> Im have a lot of work, because I need to compile everything that pspp
> needs to make it work, like gtk,glade,pango,cairo, etc.
> And each one of its has its own issues. So far I've able to compile
> the pspp.exe, and I believe that soon I will have the psppire.exe.
>
> One advantage is that I can now compile the git's versions, instead of
> the last 0.6.1.
I went down this same path a couple of years ago, trying to get
PSPP to cross-compile from GNU/Linux to Mingw. I think that it
worked out fairly well in the end. But at the time I think I was
able to find pre-compiled binaries for the various libraries, so
that I didn't have to build and install them myself. Did you
look around on the web for binary libraries? It might save you
quite a bit of trouble, if they are available.
It's not necessary to have the dependent libraries on the build
machine, since of course the binary will not be run there. You do
need the header files for these libraries, but in most (all?) cases,
the headers for the native version will be identical to that of the
host version.
It's necessary to pass a flag to the linker, telling it to ignore
unresolved symbols arising from these shared libraries. Unfortunately
I don't remember what this flag is.
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature