We currently test whether /usr/bin/gcc is a symlink, and if it isn't, 
then the user gets a somewhat confusing error message:
"
Under Mac OS X <version>, Fink must be bootstrapped or updated with gcc
4.2, however, you currently have gcc (unknown version) selected.
This typically is due to alteration of symlinks which were
installed by Xcode. To correct this problem, you will need
to restore the compiler symlinks to the configuration that
Apple provides.
"

The "unknown version" comes in because we don't bother to check the 
version if /usr/bin/gcc isn't a symlink, and we use a common error 
message for both the non-symlink and wrong-gcc options.

We _could_ change things around so that a non-symlink /usr/bin/gcc 
returns a different error message, but since /usr/bin/gcc isn't a 
symlink in CLI tools in Xcode 5 there probably isn't much utility in 
doing that at this point.

Thoughts?
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
fink-core mailing list
fink-core@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core

Reply via email to