Manual for cross-compiling a C++ application from Linux to Windows?

后端 未结 3 1891
再見小時候
再見小時候 2020-12-02 07:47

Is there a manual for cross-compiling a C++ application from Linux to Windows?

Just that. I would like some information (links, reference, examples...) to guide me t

3条回答
  •  一生所求
    2020-12-02 08:25

    I suggest you give the following, GUB (Grand Unified Builder) a try as it cross-compiles several packages with their dependencies and assembles them into a single installation package for currently 11 architectures. You can download a prebuilt iso for installation in a VM from here and follow the source here. It can currently be used to cross-compile GNU LilyPond/ GNU Denemo / Inkscape and OpenOffice.org.

    The target architectures are:

    • darwin-ppc - tar.bz2 file for Darwin 7 (MacOS 10.3)/PowerPC
    • darwin-x86 - tar.bz2 file for Darwin 8 (MacOS 10.4)/x86
    • mingw - mingw executable for Windows32
    • linux-x86 - shar archive for Linux/x86
    • linux-64 - shar archive for Linux/x86_64
    • linux-ppc - shar archive for Linux/PowerPC
    • freebsd-x86 - shar archive for FreeBSD 4/x86
    • freebsd-64 - shar archive for FreeBSD 6/x86_64
    • cygwin - .tar.bz2 packages for Cygwin/Windows32
    • arm - shar archive for Linux/ARM (largely untested)
    • debian - shar archive for Debian (largely untested)

提交回复
热议问题