Recently, I upgraded to Xcode 15, and with that the update of the xcodebuild tools. However, suddenly, my standalone C++ applications are not able to use the g++-13 compiler for some reason? Anyone knows what might work, I don’t want to downgrade to Xcode 14.
Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
2
Answers
From Apple’s internal employees, this is the fault of Homebrew, you can either wait for Homebrew to fix it or try other ways to install GNU tools.
The Homebrew team responded to the GitHub issue ld: warning: ignoring duplicate libraries: ‘-lemutls_w’, ‘-lgcc’ #4794 on Sep 19, 2023, with:
A commenter asked here on SO:
Yes. To get rid of the warnings, what worked for me was the suggestion to add the following linker flags for gcc:
ld_classic
is the old Mach object file link editor.