Build Information for Scheduler Proxy Library
This section contains the recommended compiler and linker settings for building a scheduler proxy library.
64-Bit Microsoft Windows
The proxy library should be compiled and linked as a 64-bit DLL, using the following -recommended compiler and linker options:
Compiler Options
- Use of MFC: Use Standard Windows Libraries
- Character Set: Use Multi-Byte Character Set [/D "_MBCS"]
- Runtime Library: Multi-threaded DLL [/MD]
- Calling Convention: __cdecl [/Gd (default)]
Linker Options:
- Create a DLL [/DLL]
- 64-bit code [MACHINE:X64]
Linux
The proxy library should be compiled and linked as shared library (*.so) file. The following compiler and linker options are recommended when building using gcc/g++:
Compiler Options
- Generate 64-bit code: [-m64]
- Generate position independent code, suitable for use in a shared library: [-fpic]
- Generate code compatible with pthreads library: [-pthread]
Linker Options:
- Create a shared object file: [-shared]
- Generate 64-bit code: [-m64]
- Generate position independent code, suitable for use in a shared library: [-fpic]
- Generate code compatible with pthreads library: [-pthread]