Chris Quenelle wrote: > >> We could go back the the earlier scheme for the Workshop incarnation of >> the compilers where each version of the tools had its own directory and >> /opt/SUNWspro/bin was full of symlinks to the most recently installed >> version. >> >> So /opt/SUNWspro/bin/CC was the latest version, but previous versions >> could be accessed through /opt/SUNWspro/WS<version>/bin/CC. > > > FWIW we never really supported that scheme. We never had any > support for moving those symlinks back and forth, and some > files were not symlinked, so when you installed two copies > of the tools, some files got trashed. If you want two copies, > install them into /opt/SUNWspro11 and /opt/SUNWspro12 and > make /opt/SUNWspro a symlink. Very simple and reliable. > I never did understand why the directory was full of links, rather than the directory its self being a link.
> On Linux, we install by default into /opt/sun/sunstudio11 > and /opt/sun/sunstudio12, etc. > I currently use /opt/studio<xx> for my installs and add a shortcut symlink /opt/studio to the current release. That way makefiles pick up the latest version (on /opt/studio) by default and individual projects can still pick up specific versions. > I'd like to see us move to that same scheme on Solaris too. > /opt/SUNWspro is not a user-friendly directory name. There > are some people who insist the default install directory > must be the same for each release because they don't want > to update their path every 12 months or so. I don't think > it's worth catering to those people. > Agreed, if they want the same path the default can always be overridden in the installer GUI, or as command line option. How about /opt/sunstudio<xx> or /opt/sun/studio<xx>? Either path should be unique and quite short. Ian. _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org