Which gcc?

Ryan Schmidt ryandesign at macports.org
Wed Oct 31 12:47:16 PDT 2007


On Oct 31, 2007, at 07:03, William Davis wrote:

> I was under the impression ports were being built using macports  
> own port gcc 4.2.2.  In any event now that I have Leopard installed  
> with XCode 3.0 and the new SDKs I now see this:
> macintosh:~ frstan$ which gcc
> /usr/bin/gcc
> macintosh:~ frstan$ gcc
> i686-apple-darwin9-gcc-4.0.1: no input files
> macintosh:~ frstan$
> and my path still starts out with /opt/local/bin etc etc as it should.
> or was I just inattentive before?

Most ports should build with Apple's GCC 4.0.1. Some ports declare  
dependencies on specific other versions of GCC, such as MacPorts' GCC  
4.2.x, and those ports should build with that version of GCC.  
MacPorts will not install anything called "gcc" to override your  
system's GCC.



More information about the macports-users mailing list