Lets you specify a prefix that will be added to the names of gnu utilities called from the compiler.
- Is a string that prepends the name of gnu tools called from the compiler. The value depends on the gnu toolchain used for a particular operating system. For example, for Wind River* Linux 6.x, theprefixvalue will bex86_64-wrs-linux-. You must append a hyphen toprefixonly if the toolchain prefix ends with a hyphen.You can specify a short name or a pathname:
- short name:-gnu-prefix=prefixIn this case, the compiler callsprefix<gnu_utility>instead of<gnu_utility>. The utility with this name should be in the PATH environment variable.
- pathname:-gnu-prefix=/directory_name/prefixIn this case, the compiler calls/directory_name/prefix<gnu_utility>. The utility with this name will be invoked by its full pathname.
- The compiler calls gnu utilities by their short names, and looks for them in the path specified by the PATH environment variable.
This option lets you specify a prefix that will be added to the names of gnu utilities called from the compiler. This option is available for Linux*-targeted compilers but the host may be either Windows* or Linux*.
If you specify option
-gxx-name), the following occurs: