Re: select a gcc compiler

2013-10-21 Thread Brandon Allbery
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

Re: select a gcc compiler

2013-10-21 Thread chamm
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

Re: select a gcc compiler

2013-10-21 Thread Ryan Schmidt
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