On Wed, Feb 07, 2007 at 08:55:12AM -0800, Ben Pfaff wrote:

     > The makescript attempts to run cross-compiled binaries in a number of
     > places. The only place that matters for a straight "make" is q2c, so I
     > replaced
     >   /.../q2c
     >        ./src/language/lexer/q2c $< $@
     > with
     >        wine ./src/language/lexer/q2c$(EXEEXT) $< $@
     
     I am not sure that this is the correct fix.  q2c should run on
     the build machine, not on the target.  It should be compiled with
     the host C compiler, not with the target C compiler.

Yes.  Of course, this means that we need to change Makefile.am such
that q2c gets built with the native host compiler, not the cross
compiler.  There may be a few complications to this, because q2c uses
a few bits from src/libpspp

Unfortunately, I don't have the time to look at this right now.
     
J'


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


Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to