Re: [hatari-devel] Building Hatari 2.xx on Windows platform (?)

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Thanks for that...

A bit of an update however:

I managed to produce a working Win32 build using  cygwin32 -> mingw32 -> win32 native after reading all the responses today.

I had to disable SDL2 however - it crashed immediately on startup. 

i.e. the build was configured with this:

./configure --cross-compile-win64_32 --disable-sdl2

The SDL2 crash was seen using the latest libs for mingw (via cygwin setup). Not sure what's wrong there but SDL1 seems to work ok in any case.


The purpose of all of this was to produce a version of Hatari with a 32MHz DSP, so I can run DSP-intensive programs with audio running on top. The current public version of Hatari won't let me do this on my PC because the DSP emulation load on the host CPU is so high that it can't keep up. Hatari heads into a downward frameskip and audio-breakup spiral which makes testing impossible. :-/

The tweaked version is not perfect but it is much better. The audio turns a bit crunchy at times but doesn't drop out. It'll do for testing purposes.

D.


On 27 June 2017 at 14:47, Thorsten Otto <admin@xxxxxxxxxxx> wrote:
On Dienstag, 27. Juni 2017 15:26:27 CEST Douglas Little wrote:
> My attempt using mingw was to build from its own msys shell (i.e. not using
> cygwin at all).

Theoretically, that should work too. The problem there might be that msys is a
lightweight unix environment similar to cygwin, and bash, perl, make and
almost all of the commandline tools are msys-binaries, that means when they
look in /usr/... they actually access somehing like C:\MingW\msys\1.0\...

Otoh, the gcc driver and all its sub-processes are plain windows exes. That
works transparently, as long as the executable that spawns those tools (make
in the case of using automake) is itself a msys-binary.

That might not work very well with cmake, which is a windows-exe. It won't find
tools that only exist in the msys enviroment. You would probably need a cmake
build for msys, dunno wether such a thing exists. It might be easier to use a
cross-compiler on linux.






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/