Yahoo Canada Web Search

Search results

      • Fedora has a very nice mingw32 cross compiler framework with lots of pre-compiled libraries. The packages are all included in the official package repository and it's just the matter of running 'yum install mingw32-gcc' to set the compiler up. See the Fedora MinGW project page for more information.
      stackoverflow.com/questions/6632456/how-do-i-install-both-mingw32-and-mingw64-on-linux-or-macos
  1. There are two permitted ways to provide MinGW builds of software in Fedora: Separate source packages: There are distinct RPM spec files for the native and MinGW builds, maintained as independent components of Fedora. This is the traditional approach to MinGW packaging in Fedora.

    • Scriptlets

      RPM spec files have several sections which allow packages to...

    • Gap

      This document describes the conventions and customs...

    • MPI

      Message Passing Interface (MPI) is an API for...

    • Ruby

      Packages that contain Ruby Gems MUST be called...

    • Fortran

      Fortran programs in Fedora MUST be compiled, if possible,...

    • Mono

      Because mono .dlls are generally architecture independent,...

    • Emacs

      This case refers to the situation where a package’s...

    • OCaml

      This document seeks to document the conventions and customs...

    • Introduction
    • Infrastructure
    • Compiling Code
    • Building autoconf-based Projects
    • Building CMake-based Projects
    • Building Qt4-Qmake-Based Projects
    • Writing .spec Files

    As of Fedora 17 it is possible to easily build (cross-compile) binariesfor the win32 and win64 targets. This is realized using the mingw-w64toolchain: http://mingw-w64.sf.net/. Using this toolchain allows you tobuild binaries for the following programming languages: C, C++,Objective-C, Objective-C++ and Fortran.

    To be able to build binaries for the win32 or win64 targets you need toinstall some packages using yum or the graphical software installer. Here's a chart indicating which packages provide which functionality: Once you've installed one (or more) of these packages you should have anew folder on your filesystemcalled /usr/i686-w64-mingw32/sys-root/mi...

    Now that you've installed a compiler it's time to use it. See thefollowing chart to find out what command you should use to run thecompiler: So if you want to compile a .cpp file and make it an executable for thewin64 target, then you could using this command: For a full list of all command line arguments which are supported by thevarious compilers...

    Most open source projects are using the autoconf infrastructure(./configure; make; make install). This type of projects can be builtvery easily for the win32 or win64 targets. Just install one of thecompiler packages mentioned earlier and replace ./configure with either'mingw32-configure' or 'mingw64-configure' (depending whether you wantto build f...

    Another popular build system is CMake. Like with themingw32-configure/mingw64-configure scripts we've also made it easy tobuild packaging using CMake. For this, you need to have the cmakepackage installed first. Then you can use the mingw32-cmake ormingw64-cmake commands to run CMake with the correct environment set forthe given target. Once the mi...

    The Qt project also has written a build system called qmake (actually:qmake-qt4). This build system is used by various packages which are Qtbased. For this build system we've also prepared tools to makecross-compilation for the win32 and win64 targets easy. Just install thepackages mingw32-qt-qmake or mingw64-qt-qmake. Once these are installedyou c...

    All the helper scripts which are mentioned earlier can also be used whenbuilding RPMS using a .spec file. To find out more about writing .specfiles to build cross-compiled packages you should take a look at theFedora MinGW packaging guidelines:https://fedoraproject.org/wiki/Packaging:MinGWThis set of guidelines also contains an example .spec file

  2. View the mingw-gcc packages in Fedora.

  3. Nov 26, 2012 · Documentation about the Cross Compiler Framework which supports both Win32 as well Win64 targets. Fedora MinGW Testsuite. List of tasks which still need to be done.

  4. Jul 9, 2011 · Fedora has a very nice mingw32 cross compiler framework with lots of pre-compiled libraries. The packages are all included in the official package repository and it's just the matter of running 'yum install mingw32-gcc' to set the compiler up. See the Fedora MinGW project page for more information.

  5. View mingw32-gcc in the Fedora package repositories. mingw32-gcc: MinGW Windows cross-compiler (GCC) for C for the win32 target.

  6. People also ask

  7. May 19, 2013 · The MinGW cross-compilers and binutils are Fedora binaries and are therefore placed in %{_bindir} (ie. /usr/bin) according to the FHS and Fedora guidelines. The MinGW cross-compilers and binutils which generate i686 binaries for Windows are named: %{_bindir}/i686-w64-mingw32-gcc. %{_bindir}/i686-w64-mingw32-g++.

  1. People also search for