There was some thought about creating a /usr/compilers symlink and
having the /usr/bin links go through that symlink.  Similar to
the way /usr/java works.  But that's mostly an orthogonal
issue.  There would always be another well-known path under /opt.
Also on Linux, we have a default path like /opt/sun/sunstudio11.
So we'll probably retain some sort of well-known path under /opt.

Using a symlink like /usr/compilers sounds like a better performing
scheme than using a wrapper and an environment variable.

We could also stop short of the /bin symlinks and add /usr/compilers
as a symlink, and then tell people to add /usr/compilers to their
search path.

We'll be compared against other precedents on Solaris and we'll
also be compared against other precendts on Linux.  But Linux
has a one-compiler-to-rule-them-all scheme which doesn't really
give us many ideas for how to deal with multiple compilers at once.

--chris
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to