Skip to content

Commit 5d867aa

Browse files
authored
Merge pull request #191 from InfRandomness/opensuse
Add instructions on how to compile on openSUSE
2 parents bb93f70 + 86d89b7 commit 5d867aa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs-src/tutorial/cross.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ The mingw packages are in the AUR, you can either install manually or use a help
3030
Fedora provides pre-compiled Mingw and GTK packages through its repositories. Both 64 and 32 bits are available (`mingw64-*` vs `mingw32-*`), of which you probably want the 64 bits packages.
3131

3232
dnf install mingw64-gcc mingw64-pango mingw64-poppler mingw64-gtk3
33+
### openSUSE
34+
### Be advised that the windows:mingw:win64 project only provides mingw64-gtk3 at version 3.22-15, you will only be able to compile programs requiring GTK features v3_22-15 and lower.
35+
36+
openSUSE is similar to fedora with differences on the packages to install
37+
38+
## Tumbleweed
39+
zypper addrepo https://download.opensuse.org/repositories/windows:mingw:win64/openSUSE_Tumbleweed/windows:mingw:win64.repo
40+
## Leap 15.2
41+
zypper addrepo https://download.opensuse.org/repositories/windows:mingw:win64/openSUSE_Leap_15.2/windows:mingw:win64.repo
42+
## Leap 15.1
43+
zypper addrepo https://download.opensuse.org/repositories/windows:mingw:win64/openSUSE_Leap_15.1/windows:mingw:win64.repo
44+
45+
zypper refresh
46+
zypper in mingw64-gtk3-devel mingw64-cross-gcc
3347

3448
### Other distributions
3549

0 commit comments

Comments
 (0)