On Mon, Oct 21, 2013 at 8:39 PM, chamm wrote:
> Chris-MacBook-Pro:~ Chris$ echo $PATH
>
> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin:/Users/Chris/scripts
>
This is your problem; the shell will always take it from the earliest
directory in $PATH that has it. (Also, why
Here is the output:
Chris-MacBook-Pro:~ Chris$ sudo port select --set gcc mp-gcc45
Password:
Selecting 'mp-gcc45' for 'gcc' succeeded. 'mp-gcc45' is now active.
Chris-MacBook-Pro:~ Chris$ type gcc
gcc is hashed (/usr/bin/gcc)
Chris-MacBook-Pro:~ Chris$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr
On Oct 21, 2013, at 15:00, chamm wrote:
> I did try both a new terminal window and using hash -r, but still the
> default apple compiler is used.
Please show the output of:
type gcc
echo $PATH
___
macports-users mailing list
macports-users@lists.m