45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
Now it's time to install MinGW-w64. If you want to build 32 bit binaries:
$ pacman -S mingw-w64-i686-clang mingw-w64-i686-gcc-objc
For 64 bit binaries:
$ pacman -S mingw-w64-x86_64-gcc-objc
There is nothing wrong with installing them both, as MSYS2 has created two
entries in your start menu: MinGW-w64 Win32 Shell and MinGW-w64 Win64 Shell.
So if you want to build for 32 or 64 bit, you just start the correct shell.
Notice, though, that Clang is only installed for 32 bit binaries, as its SEH
support is not sufficient for ObjFW yet. Therefore, if you follow these
instructions, by default, 32 bit binaries will be built with Clang and 64 bit
binaries with GCC.
Finally, install a few more things needed to build ObjFW:
$ pacman -S autoconf automake git make
Getting, building and installing ObjFW
--------------------------------------
|
|
<
<
<
<
<
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
Now it's time to install MinGW-w64. If you want to build 32 bit binaries:
$ pacman -S mingw-w64-i686-clang mingw-w64-i686-gcc-objc
For 64 bit binaries:
$ pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-gcc-objc
There is nothing wrong with installing them both, as MSYS2 has created two
entries in your start menu: MinGW-w64 Win32 Shell and MinGW-w64 Win64 Shell.
So if you want to build for 32 or 64 bit, you just start the correct shell.
Finally, install a few more things needed to build ObjFW:
$ pacman -S autoconf automake git make
Getting, building and installing ObjFW
--------------------------------------
|