![]() ![]() ![]() |
Selecting the C/C++ Compiler tree item in the Project Settings dialog will show the compiler settings in the right frame. The information displayed is used to create Makefiles which are used to compile and link the agent source and generated source files.
Compiler Name
This provides options to choose the name of the compiler from the supported Compilers to compile the source files. The provided Compiler options will depend on the OS chosen in the Settings -> General panel of the Project Settings dialog.
Compiler
Name: The name of the utility to compile the sources.
Options: The Compiler options, such as optimize, debug, etc.
Library
Name: The Library name used to create a library or dll.
Options: The Library options, such as append, overwrite, etc.
Linker
Name: The Linker name used to create executable of the agent.
Options: The Linker options, such as include libraries, objects, etc.
Include
Library Name: The special libraries required for the agent can be mentioned here. For example in the case of Windows, Wsock32 library is included for UDP socket communication.
Directory: The name of the include directory.
By enabling this check-box option, the final agent will be created as library instead of executable. This support is available only for the Linux operating systems. If this option is enabled, the generated Makefile(s) will have commands for creating the agent as library and the library created is a static and cumulative one.
The library will be created under the "projects/<project-name>/agent/lib" directory and the default name in which the library will get created is as follows
For stand-alone SNMP agent -- snmpagent.a
For stand-alone TL1 agent -- tl1agent.a
For stand-alone CLI agent -- cliagent.a
For Multi-Protocol agent -- mpaagent.a
If you want to configure the output library file name, then it can also be done by specifying the name in the "Output File Name" field.
For creating the agent as library in Windows Operating system or in any other Linux based operating systems manually, refer the Porting Guide --> Compiling C Agent --> Compiling Agent as Library section.
Executable File Name: User can configure their own final executable file name in the output file name field. The name specified in this field will be taken as input for the Makefile generation which will create the executable in the name as specified after the compilation.
By default, final executable name will be snmpagent for stand-alone SNMP agent, tl1agent for stand-alone TL1 agent, cliagent for stand-alone CLI agent and mpaagent for Multi-Protocol agent.
Library File Name : If the agent has to be created as library instead of executable, then the library file name (without extension) needs to be mentioned. This option is available only for Windows & Linux
![]() ![]() ![]() |