Cross-compiling with MinGW on Fedora

My goodness, I’m impressed. Having released the first iteration of my robotic debugger, I was informed that the fork()/exec() combo isn’t portable to Windows. Nobody volunteered any patches immediately, so I decided to read up on cross-compiling since I really dislike having to reboot into my other partition. Turns out that the entire MinGW stack has been packaged up for Fedora, meaning that all I had to do in the end was:
# yum install mingw32-gcc mingw32-gcc-c++ mingw32-libpng mingw32-SDL
$ mingw32-make -j2

It wasn’t quite that easy – since Megazeux uses a non-standard configure script, I had to correct a few faulty assumptions. I never figured out the correct way to use

/usr/i686-pc-mingw32/sys-root/mingw/bin/sdl-config

instead of the default one, so that got hardcoded somewhere. Also, Megazeux relies on libogg and libvorbis, which haven’t been pushed to the fedora repository yet (packaging limbo ahoy!), but I was able to grab some rpms that the mingw32 packager helpfully left lying around. All in all, a very successful and satisfying experience.

This entry was posted in code, fedora, megazeux, projects. Bookmark the permalink.

7 Responses to Cross-compiling with MinGW on Fedora

  1. Pingback: Cross-compiling with MinGW on Fedora | Dysfunctional Programming | Just linux?

  2. toy gun says:

    I have read so many articles or reviews regarding the blogger lovers however this article is really a nice paragraph, keep it up.

  3. Pingback: www.Nabon.go.th

  4. As an older woman at 65 what do I really need to know so I can stream my shows on my phone or my tablet

  5. Pingback: ctr manipulation

  6. pcdhive.com says:

    I read this post fully about the difference of latest and preceding technologies,
    it’s remarkable article.

  7. Pingback: daftar provider permainan taruhan bola Online Paling Gampang Menang Terbaru

Leave a Reply

Your email address will not be published. Required fields are marked *