Re: [hatari-devel] Building Hatari 2.xx on Windows platform (?) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
On Dienstag, 27. Juni 2017 11:47:29 CEST Douglas Little wrote:
> Hi,
>
> Can anyone direct me towards instructions for building Hatari on the
> Windows platform?
I never built Hatari on windows/cygwin, but i doubt that building in an xterm,
using the default gcc, is the correct way. That would produce a binary that
needs a X-server to run.
You will probably need a pure mingw compiler. On older cygwin version, this
could be achieved by just adding -mno-cygwin to the compiler flags. On newer
installations there are separate packages, mingw64-i686-* when using the 64bit
version of cygwin. Be sure to install all the libraries that might be neede by
Hatari, if the configure script can't find the one i needs it might otherwise
fallback to the cygwin libraries, which is not what you want. Basically this
is handled by cygwin as cross-compiling, even if you can execute the resulting
binaries on the same machine.