This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The Sun Studio IDE script will provide a new environment variable pointing to the location of the compilers and tools distributed with that IDE. name: spro.bin meaning: spro.bin will be the absolute path to the folder where the Sun Studio compilers and other Sun Studio tools are accessible. Please note the spro.bin folder may only contain links to the binaries and not the actual files themselves. The C++ compiler can for instance be found here: $(spro.bin)/CC CND's toolchain discovery logic should do the following: 1) check whether spro.bin is set and points to a valid directory 2) check whether spro.bin contains a valid Sun Studio toolchain (SS12, SS12.1, ExpressAten, SS12.2, ...) and do the following if it does: a) install this toolchain before any other toolschain of same name found otherwise b) set this toolchain as the default *SunStudio* toolchain. 3) if spro.bin is not set or doesn't point to a valid compiler set, CND toolchain discovery logic should do what it does today and link 'SunStudio' toolchain to the 'best' SS set. This will ensure that 'SunStudio' toolchain points to the ExpressAten compilers in ExpressAten IDE and 'SunStudio' toolchain points to the Aten compilers in Aten IDE even you have all the toolchains in your paths.
Integrated into 'main-golden', will be available in build *200911060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e503641cfc9f User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing IZ#176026 Preferred SunStudio toolchain should be settable using environment variable
fixed