How to set up Fedora 17 for Mingw cross compile

By polfilm,

  Filed under: Cross-compile, Fedora, Mingw32
  Comments: None

yum install mingw32-binutils
yum install mingw32-cpp
yum install mingw32-filesystem
yum install mingw32-gcc
yum install mingw32-gcc-c++
yum install mingw32-runtime
yum install mingw32-w32api
yum install wine

wine cmd.exe

You should end in home directory on Z:\ drive

regedit.exe

What to edit?

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment

In the PATH element add at the end your binaries folder (check this folder exists!)

;Z:\\usr\\i686-pc-mingw32\\sys-root\\mingw\\bin

close regedit
exit in console
restart wine command prompt

wine cmd.exe

verify by typing

path

If you have other required mingw32 components installed you should be able to do:

mingw32-configure

Be the first to write a comment.

Your feedback

You must be logged in to post a comment.