How To Install mingw64-gcc-objc on Fedora 36

In this tutorial we learn how to install mingw64-gcc-objc in Fedora 36. mingw64-gcc-objc is MinGW Windows cross-compiler support for Objective C for the win64 target

Introduction

In this tutorial we learn how to install mingw64-gcc-objc on Fedora 36.

What is mingw64-gcc-objc

MinGW Windows cross-compiler support for Objective C for the win64 target.

We can use yum or dnf to install mingw64-gcc-objc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-gcc-objc.

Install mingw64-gcc-objc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mingw64-gcc-objc using dnf by running the following command:

sudo dnf -y install mingw64-gcc-objc

Install mingw64-gcc-objc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mingw64-gcc-objc using yum by running the following command:

sudo yum -y install mingw64-gcc-objc

How To Uninstall mingw64-gcc-objc on Fedora 36

To uninstall only the mingw64-gcc-objc package we can use the following command:

sudo dnf remove mingw64-gcc-objc

mingw64-gcc-objc Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/692dd834f3d7e86adb4ba5718608747f4ccaeb
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/NXConstStr.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/Object.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/Protocol.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/message.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/objc-decls.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/objc-exception.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/objc-sync.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/objc.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/runtime.h
/usr/lib/gcc/x86_64-w64-mingw32/11.2.1/include/objc/thr.h
/usr/libexec/gcc/x86_64-w64-mingw32/11.2.1/cc1obj
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libobjc-4.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libobjc.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libobjc.dll.a

References

Summary

In this tutorial we learn how to install mingw64-gcc-objc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).