pspp-dev
[Top][All Lists]
Advanced

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

Re: Windows cross compile build


From: John Darrington
Subject: Re: Windows cross compile build
Date: Wed, 29 Dec 2021 23:42:17 +0100

I think Harry had a similar problem, and from what I remember I concluded
that the  mingw64-  scripts which Opensuse shipped were trying to be too
clever for their own good.

What they do is they force ALL builds to ALWAYS build for mingw64 - which
is not what we want.   For reasons I won't discuss now, cross building
PSPP first requires a native build.  The mingw64-configure/make stuff
messes this up.

I presume you have executed the script Windows/build-dependencies?

I suggest you build the way the build-dependencies script recommends,
by passing the --host= and other arguments.

J'

On Wed, Dec 29, 2021 at 10:18:34PM +0100, Friedrich Beckmann wrote:
     Hi John,
     
     I try to get the CI/CD chain back to live. I tried to build the windows 
cross build on opensuse by using the the latest source package from Ben which 
is 1.5.3-g8d023f. Inside the source tree I created a build directory „fritz“. 
From there I started "mingw64-configure“ and then „mingw64-make“. The configure 
stage was successfull but the make ended with
     
     libtool: link: /usr/bin/x86_64-w64-mingw32-ranlib .libs/libgl.a
     libtool: link: ( cd ".libs" && rm -f "libgl.la" && ln -s "../libgl.la" 
"libgl.la" )
     make[6]: Leaving directory '/home/pspp/pspp-1.5.3-g8d023f/fritz/native/gl'
     make[5]: Leaving directory '/home/pspp/pspp-1.5.3-g8d023f/fritz/native/gl'
     make[4]: Leaving directory '/home/pspp/pspp-1.5.3-g8d023f/fritz/native/gl'
     make[3]: Leaving directory '/home/pspp/pspp-1.5.3-g8d023f/fritz/native'
     (cd native && flock --verbose ./native-lock make src/ui/terminal/pspp)
     flock: getting lock took 0.000016 seconds
     flock: executing make
     make[3]: Entering directory '/home/pspp/pspp-1.5.3-g8d023f/fritz/native'
     make[3]: *** No rule to make target 'src/ui/terminal/pspp'.  Stop.
     make[3]: Leaving directory '/home/pspp/pspp-1.5.3-g8d023f/fritz/native'
     make[2]: *** [Makefile:14330: native/src/ui/terminal/pspp] Error 2
     make[2]: Leaving directory '/home/pspp/pspp-1.5.3-g8d023f/fritz'
     make[1]: *** [Makefile:12371: all-recursive] Error 1
     make[1]: Leaving directory '/home/pspp/pspp-1.5.3-g8d023f/fritz'
     make: *** [Makefile:6490: all] Error 2
     (sandbox) pspp@windows:~/pspp-1.5.3-g8d023f/fritz$ mingw64-configure 
     
     Do you maybe have an example how to do the windows cross build?
     
     Regards
     
     Fritz
     
     
     



reply via email to

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