> On Feb 11, 2013, at 15:21, Frank J. R. Hanstick wrote:
>
>> I thought that MacPorts defaulted to the system gcc default setting(s)
>> (limited to Apple certified versions of course) rather than a hard coded
>> default setting.
>
> The hardcoded default compiler in MacPorts, which varies by Xcode version,
> was meant to mirror the default compiler used by that version of Xcode, but
> in the case of Leopard there seems to have been some discrepancy. Perhaps
> Leopard's Xcode used to default to gcc 4.0 and then changed to 4.2 later and
> we didn't notice. I thought it was that "gcc" on the command line was gcc-4.0
> while in Xcode projects gcc-4.2 was used by default, but I could be mistaken.
Frank expected whereis(1) to behave differently than it in fact does.
His 'port select' output shows that his 'gcc' is /opt/local/bin/gcc. On
Leopard, /usr/bin/{gcc,g++} are links to {gcc-4.0,g++-4.0}.
- Josh
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users