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.
I tried to change C comiler for the existing toolchain: - selected addr2line.exe from another directory - fine - selected gmake.exe from another directory - got "Only compilers within base dir allowed" It looks like I can select a binary from the different folder but it should be somehow special, it is unclear how... Also I can specify any existing file if I edit compiler field in the toochain. It means that this check is done only for filechooser result. This is inconsistent.
*** Bug 186566 has been marked as a duplicate of this bug. ***
Having tools from folders other than toolchain bin does not make sense for managed projects. Anyway tool from bin will be used, not the tool user specified. In this case it is strange to have the ability to edit tools paths! That does not affect anything (for managed projects).
more of that if tool name is somehow special build will fail as soon as this tool is not in path or toolchain bin folder, e.g.: Gnu toolchain from /usr/bin c++ compiler: /opt/csw/gcc4/bin/i386-pc-solaris2.10-g++ Any build will fail because i386-pc-solaris2.10-g++ is not in path or /usr/bin
workaround is to change project properties/C++ comiler/tool by hand. User can enter full path there.
Not a showstopper for 6.9. Should be definitely fixed in the next release.
Build is supposed to add compiler base to a users paths. If it doesn't, then this is the problem (and a regression). Compilers (cc, CC, gcc, g++, asm, ...) will be takes from base and that is why the toolchain GUI correctly disallow you to mix compilers from different bases. Make is not part of the toolchain (in this sense) so you can specify any make you like and it should use that make even it is not in the same base. It doesn't matter for make. It all has to do with certain standards of how makefiles are written and how compilers (not make it self) is choosen from these makefiles.
Created attachment 111054 [details] proposed patch
fixed, change set: http://hg.netbeans.org/cnd-main/rev/056b5756175e - message was removed.