Jump to content
IGNORED

Stella built with MXE


SvOlli

Recommended Posts

Hi there!

 

Today I hacked a bit trying to get Stella built with MXE. MXE (http://mxe.cc/) is a MinGW (MINimalist Gnu for Windows) cross compiler environment which links everything static by default. It's used to build Windows software on a Linux/Unix host. Once I've managed to get things done, I ended up a single binary without the need for the SDL.dll with the size of 4.5M. Using upx, I could squeeze it down to 1.1M. This version is attached, as well as the script and config.mak used to get it compiled.

 

I'm not sure if it fits the requirements of the rest of the Stella sourcecode, but Stephen, if you want to include it, feel free. Unzip this archive in the top level directory of the svn sourcecode (the directory containing the "configure" script). The current 3.9.2 sourcecode will not work. To get the build up and running check out the current version of mxe, run "make sdl" there, and set the MXE environment variable pointing to that directory.

 

Have fun,

SvOlli

stella-mxe.zip

  • Like 2
Link to comment
Share on other sites

As a second step, I managed to change the configure script, that now running configure like this works:

 

./configure --host=mingw32-cross --with-sdl-prefix="<path_to_mxe>/usr/i686-pc-mingw32"

 

This patch is for the svn version, but should also work with 3.9.2, running the patch will most probably only dump warning about offsets.

configure.diff.gz

Link to comment
Share on other sites

  • 2 weeks later...

Hi there!

 

Today I hacked a bit trying to get Stella built with MXE. MXE (http://mxe.cc/) is a MinGW (MINimalist Gnu for Windows) cross compiler environment which links everything static by default. It's used to build Windows software on a Linux/Unix host. Once I've managed to get things done, I ended up a single binary without the need for the SDL.dll with the size of 4.5M. Using upx, I could squeeze it down to 1.1M. This version is attached, as well as the script and config.mak used to get it compiled.

 

I'm not sure if it fits the requirements of the rest of the Stella sourcecode, but Stephen, if you want to include it, feel free. Unzip this archive in the top level directory of the svn sourcecode (the directory containing the "configure" script). The current 3.9.2 sourcecode will not work. To get the build up and running check out the current version of mxe, run "make sdl" there, and set the MXE environment variable pointing to that directory.

 

Have fun,

SvOlli

SvOlli,

I tried it under XP Pro and it initialises but then vanishes; perhaps it requires glide wrappers for openGL?

Link to comment
Share on other sites

Finally, I had access to an XP machine today, worked as expected there...

S

 

Finally, I had access to an XP machine today, worked as expected there...

 

My XP Pro workstations are a bit light; 1 GHZ, 512 MB RAM. The Windows version of Stella runs fine on them but this one vanishes as soon as it appears.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...