diff --git a/HowTo-Cross-Compile.md b/HowTo-Cross-Compile.md index 8382dec..bbf4daa 100644 --- a/HowTo-Cross-Compile.md +++ b/HowTo-Cross-Compile.md @@ -7,6 +7,15 @@ The following packages are needed: - wine64 - mingw-w64 - mingw-w64-tools +- binutils-mingw-w64 + +The following sources are needed: +- [glib](https://gitlab.gnome.org/GNOME/glib) +- [atk](https://gitlab.gnome.org/GNOME/atk) +- [pango](https://gitlab.gnome.org/GNOME/pango) +- [gdk-pixbuf](https://gitlab.gnome.org/GNOME/gdk-pixbuf) +- [libepoxy](https://github.com/anholt/libepoxy) +- [GTK+](https://www.gtk.org/) # Prepare the `cross-file.ini` @@ -41,6 +50,9 @@ Compile the library using the following steps. cd build meson --buildtype=release --prefix=/opt/W64-cross-compile/ --cross-file ../../cross-file.ini mseon compile + +if an error like `glib/glibconfig.h:65:51: error: missing binary operator before token "("` occures edit the line and delete the **G_GNUC_EXTENSION** expression. + meson install Because not all compiled `*.dll` files are installed into the destination we need to copy them manualy.