Compiler Option: -x
Set executable/library path/name
Syntax
-x < name >
Parameters
name
Name of the executable or library file.
Description
The -x compiler option set the executable or library name, with extension. Defaults to the name of the first source file passed on the command line. When compiling libraries, be sure to add the "lib" prefix to the file name, otherwise the linker will not be able to find it. If compiling and linking separately, this option must be set only in the linker.
See also