How do I add a new set of compilers to the list of tool collections?

Choose Tools > Options, click the C/C++ icon, and select the Build Tools tab. Click Add and add a directory containing compilers. A tool collection is defined by a directory in your PATH that contains compilers.

NOTE: Changes made to your PATH in NetBeans 5.5.1 and NetBeans 6.0 do not persist beyond the IDE session. For permanent changes, you need to edit your login environment.

NOTE: The compiler binaries must be named according to predefined patterns, e.g. 'gcc' or 'gcc.exe', 'g++' or 'g++.exe' etc. If you have e.g. crosscompiler binaries with complicated names like 'powerpc-something-gcc' that don't get discovered by this method, create copies or symbolic links of them with the appropriate names.

Applies to: NetBeans 5.5.1 and later
Platforms: all

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo