Go to file
darealshinji d705818b75 ghostscript: improving cross-building
First, run configure with the option `--with-drivers=ALL,display`. Upstream confirmed an error in the build process that keeps the display driver disabled when building a static library, but that driver is needed if you want to use libgs through the wrapper library libspectre. So creating a static library manually from the DLL object files isn't required anymore.

Also a massive update on the patch, mostly to enable real support for `--host` on the configure script (instead of relying on `uname`). Full support for `--build` wasn't added to keep the patch smaller and to not make things more complicated as they already are (for example configure runs itself recursively when CCAUX environment variable was set). ghostscript.mk now builds the needed auxiliary tools in a separate stage (as native binaries) and deletes the unwanted third-party library sources afterwards. This ensures those binaries will run on the build system and keeping the third-party sources on that step will ensure that configuring doesn't fail if i.e. native libjpeg development files aren't found.

Builds on all four MXE targets and the libraries are confirmed to work.
2018-05-28 12:08:07 +10:00
.github add Issue and Pull Request templates 2016-07-27 00:54:27 +03:00
docs Update packages.json & build-matrix.html 2018-05-23 23:54:41 +00:00
ext update config.guess 2017-07-17 20:33:59 +10:00
plugins add gcc8 plugin 2018-05-09 01:53:52 +02:00
src ghostscript: improving cross-building 2018-05-28 12:08:07 +10:00
tools Revert "travis-push: only push on master branch" 2018-03-19 01:32:54 +11:00
.gitattributes package sfml: fix line endings and convert patches to git format 2013-07-06 18:54:03 +10:00
.gitignore Check in build-matrix.html 2016-01-03 20:29:54 +11:00
.travis.yml Revert "travis-push: test master in .travis.yml" 2018-03-19 01:32:41 +11:00
LICENSE.md LICENSE.md: fixup links 2016-08-29 20:18:33 +10:00
Makefile Makefile: fix autotools circular dep 2018-04-06 17:19:21 +10:00
README.md more URL updates 2017-03-10 13:59:00 +00:00
mxe.github.mk mxe.github: add more descriptive error for unknown api 2018-03-17 22:30:19 +11:00
mxe.patch.mk mxe.patch: workaround number of digits in git format patch 2018-03-17 20:41:15 +11:00
mxe.updates.mk sub makefiles: standardize names and add to build-pkg 2018-03-12 14:28:14 +11:00

README.md

MXE (M cross environment)

License

MXE (M cross environment) is a Makefile that compiles a cross compiler and cross compiles many free libraries such as SDL and Qt. Thus, it provides a nice cross compiling environment for various target platforms, which:

  • is designed to run on any Unix system
  • is easy to adapt and to extend
  • builds many free libraries in addition to the cross compiler
  • can also build just a subset of the packages, and automatically builds their dependencies
  • downloads all needed packages and verifies them by their checksums
  • is able to update the version numbers of all packages automatically
  • directly uses source packages, thus ensuring the whole build mechanism is transparent
  • allows inter-package and intra-package parallel builds whenever possible
  • integrates well with autotools, cmake, qmake, and hand-written makefiles.
  • has been in continuous development since 2007 and is used by several projects

Supported Toolchains

  • Runtime: MinGW-w64
  • Host Triplets:
    • i686-w64-mingw32
    • x86_64-w64-mingw32
  • Packages:
    • static
    • shared
  • GCC Threading Libraries (winpthreads is always available):
  • GCC Exception Handling:

Please see mxe.cc for further information and package support matrix.