Chris Quenelle wrote: > Torrey McMahon wrote: >> I might be asking a lot here but it would be nice if there was some >> CLI/GUI widget that lists all of the relevant versions and lets a user >> select the one they want to be their preferred version. Netbeans has >> something like that last I checked though it's product specific. > > This is certainly a very reasonable thing to ask. But we don't yet have > any distribution with more than one version bundled. So we decided > to defer this until we got more user feedback. The argument against this > is that the normal UNIX way of doing this is to use your PATH to select > a customized search order if you are not happy with the default > search order. If you put /usr/compilers/XXXX/bin (or whatever) in your > path before /usr/bin, then you can select which compiler you want to > be the "default" compiler. This works for command-line selection. > Controlling which compiler is seen by a configure script that > looks stright at /usr/bin/cc is a harder problem, and requires some > sort of package change. > > In my mind, I am hoping we can get by with telling users to use the > package manager to uninstall the "sunstudioXXXXlinks" package, and > install a different, non-default "XXXXlinks" package to control > which symlinks they want in /usr/bin. But that's still very tentative > at this point.
...and the symlinks approach also happens to be the best model for working with the pkg(5) system at the moment as far as I'm aware. packages are manageable; random symlinks are not and just end punting the management onto another program. -- Shawn Walker