

Next, from your terminal, run brew install gcc. We need Homebrew to allow us to install GCC.

Navigate to brew.sh, copy their install command, and paste it into your macOS terminal and follow the instructions. To begin, we will need to install Homebrew. This post will show new macOS users with a Linux background how to switch to using GNU Compiler Collection instead of the Clang compiler, and benefit from the familiarity and additional features of GCC. As I joined Atomic Object, I began to use a MacBook Pro, and quickly realized I wish I had the GNU Compiler Collection (GCC) that I was familiar with from school, instead of Clang (the default macOS C/C++ compiler). That meant I spent much of my time writing C and C++ programs in a Linux environment before my professional career. Given that some of my computer science courses graded our programs on lab machines that ran a Linux distribution, I soon installed Ubuntu as a dual-boot on my laptop to gain more familiarity and experience with the operating system. Because I was most comfortable with Windows machines, upon entering university I was gifted a Windows laptop by my parents. Choose your View Make Windows invisible while still using its applications in Coherence™ Mode, or if you’re new to Mac, you can set Windows to occupy your entire screen, so it looks just like it would if you were using a Windows PC.I never grew up with a Mac in the house.Play your favorite classic Windows-only games on a Mac. Run applications such as Microsoft Office, Visual Studio, SQL Server, PowerBI, AutoCAD, MetaTrader, and thousands more. Lightning Fast Graphic and resource-hungry Windows applications run effortlessly without slowing down your Mac.You may also migrate your Windows PC* or Linux, like Ubuntu (Intel-based Mac computers only). Easy Set-Up Parallels Desktop automatically detects what you need to get started so you can get up and running within minutes! If you need Windows, you’ll be prompted to download and install Windows 11 or use your Boot Camp installation if you have an Intel-based Mac.Share files and folders, copy and paste images and text, and drag and drop files and content between Mac and Windows applications. Seamless Use Windows, side-by-side, with macOS on your MacBook, MacBook Pro, iMac, iMac Pro, Mac mini or Mac Pro-no restarting required.
