problem using gcc_select

David Sagan david.sagan at cornell.edu
Tue May 18 05:07:30 PDT 2010


Thanks for the info and the prompt response. That was very confusing. 

			-- Best, David

On May 17, 2010, at 12:12 AM, Dan Ports wrote:

> On Sun, May 16, 2010 at 10:15:01PM -0400, David Sagan wrote:
>> ~> gcc_select -n
>> /opt/local/bin/gcc_select: line 83: [: ==: unary operator expected
>> /opt/local/bin/gcc_select: line 83: [: ==: unary operator expected
>> /opt/local/bin/gcc_select: line 83: [: ==: unary operator expected
>> /opt/local/bin/gcc_select: line 83: [: ==: unary operator expected
>> version "" is invalid!
> 
> That's not exactly an intuitive error messsage, but it's trying to tell
> you that you need to provide an argument, namely the version of gcc to
> select. gcc_select -l lists available options.
> 
> Dan
> 
> -- 
> Dan R. K. Ports              MIT CSAIL                http://drkp.net/



More information about the macports-users mailing list