bug-gnu-pspp
[Top][All Lists]
Advanced

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

Re: PSPP-BUG: [bug #59673] cross compilation is not possible


From: John Darrington
Subject: Re: PSPP-BUG: [bug #59673] cross compilation is not possible
Date: Mon, 14 Dec 2020 13:21:30 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

On Sun, Dec 13, 2020 at 01:30:35PM -0800, Ben Pfaff wrote:
     [adding the list back]
     
     Yes, just running the build binaries.
     
     There are two steps here:
     
     1. On your machine, make sure that wine gets automatically invoked
     when you try to run a windows binary directly. The wine-binfmt package
     doesn't do much. It just adds a file /usr/share/binfmts/wine that
     contains the lines:
     
     package wine
     interpreter /usr/bin/wine
     magic MZ
     
     and invokes "update-binfmts --import wine" to make sure that it is 
recognized.
     
     2. Make sure that the makefiles actually invoke the binaries with
     their proper names. It shouldn't be too hard to find the Makefile line
     that is failing and add an .exe extension to it to make sure that it
     works.
     
     Can you try this?


I would be very wary of wine-binfmt.    Not only does it raise the risk of
you inadvertently executing Windows malware in your inbox, but it also
confuses autoconf into believing that you are NOT cross-compiling when in
fact you are.

J'



reply via email to

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