How to use MinGW Cross Compiler on Fedora
Required environment on your Fedora
Minimum environment required for MinGW Cross Compile on Fedora is:
These packages above can be obtained from Fedora 10 repository. You can install these by typing in the following:
$ su Password: $ yum install mingw32-\*
Primary RPM repositries of Fedora/MinGW are:
In this site, some particular packages are covered as well as rebuild version of RPM/SRPMs found in Fedora development FTP site.
Also, it would be better to install tools related to development software. If you don't have all of typical development tools on your system, please install these tools by typing in the followings:
$ su Password: $ yum groupinstall "Development Tools"
Configure Wine for MinGW Cross Compile environment
Wine is used for executing Win32 .exe files generated by MinGW Cross Compile environment. If you don't have Wine on your Linux, installing Wine is strongly recommended. To do this, just typing in the followings:
$ su Password: $ yum install wine
First of all, you need to set the path to DLLs of the MinGW Cross Compile environment on Wine. When you execute Wine at the first time, such like 'wine cmd', default setting files are automatically generated in $HOME/.wine.
figure : Wine executed at the first time
For modifying PATH variable on Wine, please refer the following site:
Or, you can modify registry of Wine by regedit.
$ regedit &