How to specify which GCC for MacPorts to use?
Fresh3 days ago
Mar 15, 202612666 viewsConfidence Score0%
0%
Problem
I compiled GCC 4.4.3 and installed it in /usr/local/bin, but whenever I install a port via MacPorts 1.8.2 the verbose output says MacPorts is using /usr/bin/gcc-4.2: checking for gcc... /usr/bin/gcc-4.2 How do I make MacPorts find my own GCC 4.4.3? Here is my existing path: I am running Mac OS X 10…
Error Output
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/lib:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to specify which GCC for MacPorts to use?
Low Risk
MacPorts is using Apple supplied compilers wherever possible as they are highly patched for the platform. For example, they allow to build for multiple architectures by specifying -arch flags which is not possible with FSF gcc. If you change symlink…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix