$REVOLUTION_SDK_ROOT/X86/bin/
Creates source file (.inc) for accessing a dynamic module from a static one using headers written in specified format.
Three functions, ResolvedModule_(specified label name), UnresolvedModule_(specified label name), and unresolved_(specified label name), will be output to the generated file (.inc).
The target header should specify the functions and variables to be referenced by static module using DLL_EXPORT and DLL_SYMBOL.
Files set to include in the header will not be a target, so enumerate all heads.
In addition, code disabled using commenting (/* */ or //) will be visible, but code disabled using #if cannot be seen.
Call ResolvedModule_(specified label name) after creating the module link, and UnresolvedModule_(specified label name) after breaking the module link.
There is no plan for C++ support for this tool.
Specifies the output file name.
When this is omitted, it will be output as default.inc.
Specifies the label name portion of the generated function.
When omitted, the label will be default, and in that case the function name will be ResolvedModule_default.
The arguments can be configured through the response file listing the arguments.
This example generates a source file (.module.inc) for accessing a dynamic module from a static one using a header (module.h) written using DLL_EXPORT or DLL_SYMBOL.
In this example, the function name will be ResolvedModule_module.
|
Use enumeration if multiple headers exist.
|
Use the response file (response.txt) as follows:
|
The filelist.txt example for the above:
|
This example shows how to write to the header when function void foo(void) and variable int g_int must be referenced by the static module.
|
This example shows how to use the header(module.h) written with DLL_EXPORT and DLL_SYMBOL with the module source.
|
This is an example of a file that places the generated file (module.inc) using static module.
|
This is an example for when the header (module.h) is being used by other static modules.
|
06/14/2006 Initial version.
10/25/2006 Added support for multiple files.
10/27/2006 Added support for response files.
CONFIDENTIAL