How To Install mingw32-gcc-objc on Fedora 36

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

Introduction

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

What is mingw32-gcc-objc

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

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

Install mingw32-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 mingw32-gcc-objc using dnf by running the following command:

sudo dnf -y install mingw32-gcc-objc

Install mingw32-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 mingw32-gcc-objc using yum by running the following command:

sudo yum -y install mingw32-gcc-objc

How To Uninstall mingw32-gcc-objc on Fedora 36

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

sudo dnf remove mingw32-gcc-objc

mingw32-gcc-objc Package Contents on Fedora 36

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

References

Summary

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